Browse Source

Batch file tweaks.

Martijn Laan 1 year ago
parent
commit
5976f225cb
4 changed files with 12 additions and 4 deletions
  1. 4 0
      Projects/Bin/synch-isfiles.bat
  2. 4 0
      Projects/ISPP/Help/synch-isfiles.bat
  3. 2 2
      build-ce.bat
  4. 2 2
      build.bat

+ 4 - 0
Projects/Bin/synch-isfiles.bat

@@ -1,3 +1,5 @@
+cd /d %~dp0
+
 copy ..\..\Files\Default.isl
 copy ..\..\Files\ISPPBuiltins.iss
 copy ..\..\Files\is*zip.dll
@@ -8,4 +10,6 @@ copy ..\..\Files\islzma*.exe
 copy ..\..\Files\ISetup.chm
 copy ..\..\Files\ISPP.chm
 
+echo - Copying files done
+
 pause

+ 4 - 0
Projects/ISPP/Help/synch-isfiles.bat

@@ -1,3 +1,5 @@
+cd /d %~dp0
+
 copy ..\..\..\ishelp\isetup.dtd
 copy ..\..\..\ishelp\staging\contents.css staging
 copy ..\..\..\ishelp\staging\contents.js staging
@@ -8,4 +10,6 @@ copy ..\..\..\ishelp\staging\images\contentsheadopen.png staging\images
 copy ..\..\..\ishelp\staging\images\contentstopic.png staging\images
 copy ..\..\..\ishelp\staging\images\extlink.png staging\images
 
+echo - Copying files done
+
 pause

+ 2 - 2
build-ce.bat

@@ -26,8 +26,8 @@ echo.
 
 cd /d %~dp0
 
-if "%1%"=="setup" goto setup
-if not "%1%"=="" goto failed
+if "%1"=="setup" goto setup
+if not "%1"=="" goto failed
 
 call :deletefile files\compil32.exe
 call :deletefile files\iscc.exe

+ 2 - 2
build.bat

@@ -27,8 +27,8 @@ echo.
 
 cd /d %~dp0
 
-if "%1%"=="setup" goto setup
-if not "%1%"=="" goto failed
+if "%1"=="setup" goto setup
+if not "%1"=="" goto failed
 
 cd ishelp\ishelpgen
 if errorlevel 1 goto failed