Skip to content

Commit

Permalink
update_rev.bat: use bash instead of sh
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jan 13, 2013
1 parent acfefc7 commit b3d5f8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update_rev.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ IF EXIST "build.user.bat" (CALL "build.user.bat")

SET PATH=%MSYS%\bin;%PATH%

FOR %%G IN (sh.exe) DO (SET FOUND=%%~$PATH:G)
FOR %%G IN (bash.exe) DO (SET FOUND=%%~$PATH:G)
IF NOT DEFINED FOUND GOTO MissingVar

sh.exe ./version.sh
bash.exe ./version.sh


:END
Expand All @@ -22,7 +22,7 @@ EXIT /B
:MissingVar
COLOR 0C
TITLE ERROR
ECHO MSYS (sh.exe) wasn't found. Create a file build.user.bat and set the variable there.
ECHO MSYS (bash.exe) wasn't found. Create a file build.user.bat and set the variable there.
ECHO.
ECHO SET "MSYS=H:\progs\MSYS"
ECHO. & ECHO.
Expand Down

0 comments on commit b3d5f8d

Please sign in to comment.