mirror of
				https://github.com/jcefmaven/jcefbuild.git
				synced 2025-11-04 16:33:40 +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
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
cd "$( dirname "$0" )"
 | 
			
		||||
 | 
			
		||||
#Remove old build output
 | 
			
		||||
rm -rf out
 | 
			
		||||
 | 
			
		||||
#Execute buildx with linux dockerfile and output to current directory
 | 
			
		||||
if [ $# -eq 2 ]
 | 
			
		||||
  then
 | 
			
		||||
 
 | 
			
		||||
@@ -11,6 +11,8 @@ if [ $# -lt 2 ] || [ $# -eq 3 ]
 | 
			
		||||
    exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
cd "$( dirname "$0" )"
 | 
			
		||||
 | 
			
		||||
TARGETARCH=$1
 | 
			
		||||
BUILD_TYPE=$2
 | 
			
		||||
if [ $# -lt 4 ]
 | 
			
		||||
 
 | 
			
		||||
@@ -10,6 +10,8 @@ if ("%2"=="") ( ^
 | 
			
		||||
    exit 1 ^ 
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
cd /D "%~dp0"
 | 
			
		||||
 | 
			
		||||
::Determine repository and ref to pull from
 | 
			
		||||
if ("%3"=="") (set "REPO=https://bitbucket.org/chromiumembedded/java-cef.git") ^
 | 
			
		||||
else (set "REPO=%3")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user