Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxhmikosr <xhmikosr@yahoo.com>2012-07-22 14:26:40 +0400
committerxhmikosr <xhmikosr@yahoo.com>2012-07-25 19:46:22 +0400
commit5c44d332aceb171ccee3a7415762e46da2c2ff8d (patch)
treeea39d4dda57825be8556f80d01655d940cf7fc76 /update_version.bat
parent733eef367970f65f6df8c4e16a13643697acc064 (diff)
update update_version.bat
Diffstat (limited to 'update_version.bat')
-rw-r--r--update_version.bat7
1 files changed, 5 insertions, 2 deletions
diff --git a/update_version.bat b/update_version.bat
index 9ff5725d4..1cc923b51 100644
--- a/update_version.bat
+++ b/update_version.bat
@@ -28,9 +28,12 @@ IF EXIST "build.user.bat" (
IF DEFINED MSYS (SET MPCHC_MSYS=%MSYS%) ELSE (GOTO MissingVar)
)
-SET PATH=%MPCHC_GIT%\cmd;%PATH%
+SET PATH=%MPCHC_MSYS%\bin;%MPCHC_GIT%\cmd;%PATH%
+FOR %%X IN (git.exe) DO (SET FOUND=%%~$PATH:X)
+FOR %%X IN (sh.exe) DO (SET FOUND=%%~$PATH:X)
+IF NOT DEFINED FOUND GOTO MissingVar
-sh ./version.sh
+sh.exe ./version.sh
TYPE "src\mpc-hc\res\mpc-hc.exe.manifest.template" > "src\mpc-hc\res\mpc-hc.exe.manifest"
:END