fixed msys2 paths
This commit is contained in:
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call src\scripts\setup_msys2.cmd
|
call src\scripts\setup_msys2.cmd
|
||||||
|
|
||||||
for /f "usebackq tokens=*" %%i in (`cygpath "%2"`) do set ARG1=%%i
|
for /f "usebackq tokens=*" %%i in (`cygpath "%~2"`) do set ARG1=%%i
|
||||||
call mingw64 -no-start ./create_project.sh "%1" "%ARG1%"
|
call mingw64 -no-start ./create_project.sh "%~1" "%ARG1%"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
endlocal
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ set ARG1=%~1
|
|||||||
set ARG2=%~2
|
set ARG2=%~2
|
||||||
set ARG3=%~3
|
set ARG3=%~3
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call mingw64 -no-start ./cleanup.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
call mingw64 -no-start ./cleanup.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
||||||
popd
|
popd
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ set ARG1=%~3
|
|||||||
set ARG2=%~4
|
set ARG2=%~4
|
||||||
set ARG3=%~5
|
set ARG3=%~5
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call mingw64 -no-start ./deliver.sh "%DEST%" "%DIST%" "%ARG1%" "%ARG2%" "%ARG3%" 1 0 || exit 1
|
call mingw64 -no-start ./deliver.sh "%DEST%" "%DIST%" "%ARG1%" "%ARG2%" "%ARG3%" 1 0 || exit 1
|
||||||
popd
|
popd
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set ARG1=%~1
|
|||||||
set ARG2=%~2
|
set ARG2=%~2
|
||||||
set ARG3=%~3
|
set ARG3=%~3
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call mingw64 -no-start ./info.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
call mingw64 -no-start ./info.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ set ARG1=%~1
|
|||||||
set ARG2=%~2
|
set ARG2=%~2
|
||||||
set ARG3=%~3
|
set ARG3=%~3
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call mingw64 -no-start ./make_package.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0 || exit 1
|
call mingw64 -no-start ./make_package.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0 || exit 1
|
||||||
popd
|
popd
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set ARG1=%~1
|
|||||||
set ARG2=%~2
|
set ARG2=%~2
|
||||||
set ARG3=%~3
|
set ARG3=%~3
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call setup_msys2.cmd "%ARG1%" "%ARG2%" "%ARG3%"
|
call setup_msys2.cmd "%ARG1%" "%ARG2%" "%ARG3%"
|
||||||
if exist "cleanup.cmd" (
|
if exist "cleanup.cmd" (
|
||||||
call cleanup.cmd "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
call cleanup.cmd "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set ARG1=%~1
|
|||||||
set ARG2=%~2
|
set ARG2=%~2
|
||||||
set ARG3=%~3
|
set ARG3=%~3
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call mingw64 -no-start ./run_tests.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
call mingw64 -no-start ./run_tests.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set ARG1=%~1
|
|||||||
set ARG2=%~2
|
set ARG2=%~2
|
||||||
set ARG3=%~3
|
set ARG3=%~3
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
call mingw64 -no-start ./setup_msys2.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
call mingw64 -no-start ./setup_msys2.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
||||||
call mingw64 -no-start ./setup_msys2.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
call mingw64 -no-start ./setup_msys2.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
|
||||||
popd
|
popd
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
pushd "%~dp0%"
|
pushd "%~dp0"
|
||||||
for /f "usebackq tokens=*" %%i in (`cygpath "%2"`) do set ARG1=%%i
|
for /f "usebackq tokens=*" %%i in (`cygpath "%~2"`) do set ARG1=%%i
|
||||||
call mingw64 -no-start ./update_project.sh "%1" "%ARG1%"
|
call mingw64 -no-start ./update_project.sh "%~1" "%ARG1%"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
endlocal
|
||||||
|
|||||||
Reference in New Issue
Block a user