fixed msys2 paths

This commit is contained in:
2025-10-18 13:08:46 -07:00
parent 503492b5e7
commit b18dc3f854
9 changed files with 17 additions and 13 deletions

View File

@@ -2,9 +2,11 @@
setlocal
pushd "%~dp0%"
pushd "%~dp0"
call src\scripts\setup_msys2.cmd
for /f "usebackq tokens=*" %%i in (`cygpath "%2"`) do set ARG1=%%i
call mingw64 -no-start ./create_project.sh "%1" "%ARG1%"
for /f "usebackq tokens=*" %%i in (`cygpath "%~2"`) do set ARG1=%%i
call mingw64 -no-start ./create_project.sh "%~1" "%ARG1%"
popd
endlocal

View File

@@ -6,6 +6,6 @@ set ARG1=%~1
set ARG2=%~2
set ARG3=%~3
pushd "%~dp0%"
pushd "%~dp0"
call mingw64 -no-start ./cleanup.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
popd

View File

@@ -8,6 +8,6 @@ set ARG1=%~3
set ARG2=%~4
set ARG3=%~5
pushd "%~dp0%"
pushd "%~dp0"
call mingw64 -no-start ./deliver.sh "%DEST%" "%DIST%" "%ARG1%" "%ARG2%" "%ARG3%" 1 0 || exit 1
popd

View File

@@ -6,7 +6,7 @@ set ARG1=%~1
set ARG2=%~2
set ARG3=%~3
pushd "%~dp0%"
pushd "%~dp0"
call mingw64 -no-start ./info.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
popd

View File

@@ -6,6 +6,6 @@ set ARG1=%~1
set ARG2=%~2
set ARG3=%~3
pushd "%~dp0%"
pushd "%~dp0"
call mingw64 -no-start ./make_package.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0 || exit 1
popd

View File

@@ -6,7 +6,7 @@ set ARG1=%~1
set ARG2=%~2
set ARG3=%~3
pushd "%~dp0%"
pushd "%~dp0"
call setup_msys2.cmd "%ARG1%" "%ARG2%" "%ARG3%"
if exist "cleanup.cmd" (
call cleanup.cmd "%ARG1%" "%ARG2%" "%ARG3%" 1 0

View File

@@ -6,7 +6,7 @@ set ARG1=%~1
set ARG2=%~2
set ARG3=%~3
pushd "%~dp0%"
pushd "%~dp0"
call mingw64 -no-start ./run_tests.sh "%ARG1%" "%ARG2%" "%ARG3%" 1 0
popd

View File

@@ -6,7 +6,7 @@ set ARG1=%~1
set ARG2=%~2
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
popd

View File

@@ -2,7 +2,9 @@
setlocal
pushd "%~dp0%"
for /f "usebackq tokens=*" %%i in (`cygpath "%2"`) do set ARG1=%%i
call mingw64 -no-start ./update_project.sh "%1" "%ARG1%"
pushd "%~dp0"
for /f "usebackq tokens=*" %%i in (`cygpath "%~2"`) do set ARG1=%%i
call mingw64 -no-start ./update_project.sh "%~1" "%ARG1%"
popd
endlocal