This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit f32e17ba0a52abd32208a1de5023b8d99a4dbd57
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 4 17:01:25 2025 +0000

    Fix build on windows
---
 build.xml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/build.xml b/build.xml
index 8ab93f57f3..3b0261c515 100644
--- a/build.xml
+++ b/build.xml
@@ -2599,12 +2599,9 @@
         <istrue value="${skip.installer}"/>
       </or>
     </condition>
-  </target>
-
-  <target name="-installer-set-properties-2"
-      depends="-installer-set-properties-1"
-      if="nsis.executable.unix">
-    <exec executable="${nsis.executable.unix}" 
outputproperty="nsis.executable.unix.version">
+    <exec executable="${nsis.executable.unix}"
+        osfamily="unix"
+        outputproperty="nsis.executable.unix.version">
       <arg value="-VERSION"/>
     </exec>
     <condition property="nsis.executable.unix.version.ok">
@@ -2629,7 +2626,7 @@ To skip building the Windows installer, set the 
skip.installer property in build
   </target>
 
   <target name="-installer-check-version"
-      depends="-installer-set-properties-2"
+      depends="-installer-set-properties-1"
       unless="${nsis.executable.unix.version.ok}">
     <fail message="An executable makensis was found at: ${nsis.executable.unix}
 with version [${nsis.executable.unix.version}] but version [v${nsis.version}] 
is required


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to