Fixed parameter parsing bug in updateversion.sh. Added forgotten windows script.
This commit is contained in:
parent
be5ee9dfb3
commit
5f2371aa51
4
updateversion.bat
Normal file
4
updateversion.bat
Normal 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%
|
@ -1,9 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Command for printing date.
|
# Command for printing date.
|
||||||
ZR_DATEPATH=date
|
ZR_DATEPATH='date'
|
||||||
|
|
||||||
if [ -n $1 ]
|
if [ "$1" ]
|
||||||
then
|
then
|
||||||
ZR_DATEPATH=$1
|
ZR_DATEPATH=$1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user