This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 2b283d1158 Fix build on windows
2b283d1158 is described below
commit 2b283d1158347e11c79313f008bbdbbd36251625
Author: Mark Thomas <[email protected]>
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 9d6123ea03..275e19a5b8 100644
--- a/build.xml
+++ b/build.xml
@@ -2646,12 +2646,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">
@@ -2676,7 +2673,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: [email protected]
For additional commands, e-mail: [email protected]