mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-07 01:33:46 +08:00
Change workdir to script directory on all platforms
This commit is contained in:
@@ -11,6 +11,11 @@ if [ $# -lt 2 ] || [ $# -eq 3 ]
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd "$( dirname "$0" )"
|
||||||
|
|
||||||
|
#Remove old build output
|
||||||
|
rm -rf out
|
||||||
|
|
||||||
#Execute buildx with linux dockerfile and output to current directory
|
#Execute buildx with linux dockerfile and output to current directory
|
||||||
if [ $# -eq 2 ]
|
if [ $# -eq 2 ]
|
||||||
then
|
then
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ if [ $# -lt 2 ] || [ $# -eq 3 ]
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd "$( dirname "$0" )"
|
||||||
|
|
||||||
TARGETARCH=$1
|
TARGETARCH=$1
|
||||||
BUILD_TYPE=$2
|
BUILD_TYPE=$2
|
||||||
if [ $# -lt 4 ]
|
if [ $# -lt 4 ]
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ if ("%2"=="") ( ^
|
|||||||
exit 1 ^
|
exit 1 ^
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cd /D "%~dp0"
|
||||||
|
|
||||||
::Determine repository and ref to pull from
|
::Determine repository and ref to pull from
|
||||||
if ("%3"=="") (set "REPO=https://bitbucket.org/chromiumembedded/java-cef.git") ^
|
if ("%3"=="") (set "REPO=https://bitbucket.org/chromiumembedded/java-cef.git") ^
|
||||||
else (set "REPO=%3")
|
else (set "REPO=%3")
|
||||||
|
|||||||
Reference in New Issue
Block a user