2009-08-26 04:44:59 +02:00
|
|
|
@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.
|
|
|
|
|
2009-08-27 19:53:52 +02:00
|
|
|
set BASH=env\win32\bin\bash.exe
|
|
|
|
set DATEPATH=env\win32\bin\date.exe
|
2009-08-26 04:44:59 +02:00
|
|
|
|
|
|
|
REM Converts a windows path to a linux path for cygwin (/cygdrive/c/...).
|
2009-08-27 19:53:52 +02:00
|
|
|
for /f %%s in ('env\win32\bin\cygpath.exe -u "%DATEPATH%"') do set DATEPATH=%%s
|
2009-08-25 00:12:42 +02:00
|
|
|
|
|
|
|
%BASH% updateversion.sh %DATEPATH%
|
2009-08-27 20:27:29 +02:00
|
|
|
exit
|