mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 21:55:15 -05:00
a35985e3fc
- Added build script - Added build-installer script - Added pack script - Added gitlog script - Use shadow build
21 lines
293 B
Batchfile
21 lines
293 B
Batchfile
:: Usage:
|
|
:: call msys-path.bat path variable
|
|
|
|
setlocal
|
|
|
|
set WinPath=%~1
|
|
set MSYSVar=%~2
|
|
|
|
if "%MSYSVar%"=="" (
|
|
echo.
|
|
echo Parameter error.
|
|
exit /B 1
|
|
)
|
|
|
|
set MSYSPath=/%WinPath:~0,1%/%WinPath:~3%
|
|
set MSYSPath=%MSYSPath:\=/%
|
|
|
|
endlocal & set %MSYSVar%=%MSYSPath%
|
|
|
|
exit /B 0
|