OSDN Git Service

Use 7-Zip 32-bit version if no 7-zip 64-bit version exists
authorsdottaka <none@none>
Sun, 4 Jul 2010 13:54:27 +0000 (22:54 +0900)
committersdottaka <none@none>
Sun, 4 Jul 2010 13:54:27 +0000 (22:54 +0900)
BuildArc.cmd

index 272c30d..5e24c9f 100644 (file)
@@ -2,7 +2,7 @@ cd /d "%~dp0"
 
 call SetVersion.cmd
 set DISTDIR=\Web Page\geocities
-set path=c:\progra~1\7-zip\;%path%
+set path="%ProgramFiles%\7-zip";"%ProgramFiles(x86)%\7-zip";%path%
 
 copy "Build\WinMerge-%RCVER%-Setup.exe" "WinMerge-%APPVER%-Setup.exe"
 7z.exe a -tzip "%DISTDIR%\WinMerge-%SAFEAPPVER%-Setup.exe.zip" "WinMerge-%APPVER%-Setup.exe"