[gimp-help/wip/Jehan/ci-2-10-split: 1/3] build: really ignore the pdf/ directory this time!




commit 1e096863fdc75e4c420701cc9f09d597634c7a39
Author: Jehan <jehan girinstud io>
Date:   Sat Mar 19 13:32:43 2022 +0100

    build: really ignore the pdf/ directory this time!
    
    Windows CLI is weird. Apparently it's a single % for the variable of a
    for loop on the command line, but 2 % if within a bat file.

 build/windows/installer/build.bat | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build/windows/installer/build.bat b/build/windows/installer/build.bat
index cbbd79871..645690ca0 100644
--- a/build/windows/installer/build.bat
+++ b/build/windows/installer/build.bat
@@ -9,9 +9,9 @@ FOR /F "usebackq tokens=5,* skip=2" %%A IN (`REG QUERY "HKLM\Software\Microsoft\
 if not exist "%INNOPATH%\iscc.exe" goto noinno
 
 echo "%INNOPATH%"
-FOR /D %%l in (..\..\..\htdocs\2.10\*) DO if not "%l"=="..\..\..\htdocs\2.10\." (
-    if not "%l"=="..\..\..\htdocs\2.10\.." (
-        if not "%l"=="..\..\..\htdocs\2.10\pdf" (
+FOR /D %%l in (..\..\..\htdocs\2.10\*) DO if not "%%l"=="..\..\..\htdocs\2.10\." (
+    if not "%%l"=="..\..\..\htdocs\2.10\.." (
+        if not "%%l"=="..\..\..\htdocs\2.10\pdf" (
             echo Creating installer for %%~nxl
             "%INNOPATH%\iscc.exe" "gimp-help.iss" /DVERSION="%1" /DLANG="%%~nxl" 
/DHELPDIR="..\..\..\htdocs\2.10"
         )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]