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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 45ae662434 Only build with makensis when configured
45ae662434 is described below

commit 45ae6624343283f1c24203e34b30cc0c768847c3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 4 16:35:43 2025 +0000

    Only build with makensis when configured
---
 build.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 75accd5690..8ab93f57f3 100644
--- a/build.xml
+++ b/build.xml
@@ -2577,10 +2577,14 @@
       </or>
     </condition>
     <condition property="nsis.executable.unix" 
value="${nsis.bin.home}/Bin/makensis">
-      <available file="makensis" filepath="${nsis.bin.home}/Bin"/>
+      <and>
+        <equals arg1="${nsis.tool}" arg2="makensis" forcestring="true"/>
+        <available file="makensis" filepath="${nsis.bin.home}/Bin"/>
+      </and>
     </condition>
     <condition property="nsis.executable.unix" value="makensis">
       <and>
+        <equals arg1="${nsis.tool}" arg2="makensis" forcestring="true"/>
         <available file="makensis" filepath="${env.PATH}"/>
         <not>
           <available file="makensis" filepath="${nsis.bin.home}/Bin"/>


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

Reply via email to