Fixed parameter parsing bug in updateversion.sh. Added forgotten windows script.

This commit is contained in:
richard 2009-08-25 00:12:42 +02:00
parent be5ee9dfb3
commit 5f2371aa51
2 changed files with 6 additions and 2 deletions

4
updateversion.bat Normal file
View File

@ -0,0 +1,4 @@
set BASH=..\zr-devenv\win32\bin\bash.exe
set DATEPATH=../zr-devenv/win32/bin/date.exe
%BASH% updateversion.sh %DATEPATH%

View File

@ -1,9 +1,9 @@
#!/bin/sh
# Command for printing date.
ZR_DATEPATH=date
ZR_DATEPATH='date'
if [ -n $1 ]
if [ "$1" ]
then
ZR_DATEPATH=$1
fi