merge
This commit is contained in:
commit
f4a611ae63
@ -1,4 +1,14 @@
|
|||||||
set BASH=..\zr-devenv\win32\bin\bash.exe
|
@echo off
|
||||||
set DATEPATH=../zr-devenv/win32/bin/date.exe
|
REM Note: Copy this script to the source code repositroy and execute it
|
||||||
|
REM from that location.
|
||||||
|
|
||||||
|
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=%ZRDEVENV%\win32\bin\bash.exe
|
||||||
|
set DATEPATH=%ZRDEVENV%\win32\bin\date.exe
|
||||||
|
|
||||||
|
REM Converts a windows path to a linux path for cygwin (/cygdrive/c/...).
|
||||||
|
for /f %%s in ('%ZRDEVENV%\win32\bin\cygpath.exe -u "%DATEPATH%"') do set DATEPATH=%%s
|
||||||
|
|
||||||
%BASH% updateversion.sh %DATEPATH%
|
%BASH% updateversion.sh %DATEPATH%
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Command for printing date.
|
# Note: Copy this script to the source code repository and execute it
|
||||||
|
# from that location.
|
||||||
|
|
||||||
|
# Program for printing date.
|
||||||
ZR_DATEPATH='date'
|
ZR_DATEPATH='date'
|
||||||
|
|
||||||
if [ "$1" ]
|
if [ "$1" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user