sm-zombiereloaded-3/updateversion.bat
2014-07-30 12:23:47 +03:00

14 lines
424 B
Batchfile

@echo off
REM To avoid complicated and maybe impossible tasks in windows batch scripts,
REM this script will execute another linux shell script using cygwin.
set BASH=env\win32\bin\bash.exe
set DATEPATH=env\win32\bin\date.exe
REM Converts a windows path to a linux path for cygwin (/cygdrive/c/...).
for /f %%s in ('env\win32\bin\cygpath.exe -u "%DATEPATH%"') do set DATEPATH=%%s
%BASH% updateversion.sh %DATEPATH%
exit