From eabdcd0e4328dc6f89e3946ea08f17798c24eb63 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Thu, 2 Jun 2011 12:23:45 +0400 Subject: [PATCH] SONAR-2493 Fix build-war.sh Variable ANT_HOME should be exported in order to be available for child processes. --- sonar-application/src/main/assembly/war/build-war.bat | 2 +- sonar-application/src/main/assembly/war/build-war.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sonar-application/src/main/assembly/war/build-war.bat b/sonar-application/src/main/assembly/war/build-war.bat index 73cea1947ed..922d5532051 100644 --- a/sonar-application/src/main/assembly/war/build-war.bat +++ b/sonar-application/src/main/assembly/war/build-war.bat @@ -25,4 +25,4 @@ set ANT_HOME=%CD%\apache-ant-1.7.0 call apache-ant-1.7.0\bin\ant set ANT_HOME=%ORIG_ANT_HOME% -set ORIG_ANT_HOME= \ No newline at end of file +set ORIG_ANT_HOME= diff --git a/sonar-application/src/main/assembly/war/build-war.sh b/sonar-application/src/main/assembly/war/build-war.sh index 0155f378f2b..20e20bafe90 100644 --- a/sonar-application/src/main/assembly/war/build-war.sh +++ b/sonar-application/src/main/assembly/war/build-war.sh @@ -17,8 +17,8 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # -# Use this DOS script to create a Sonar WAR archive. +# Use this Shell script to create a Sonar WAR archive. -ANT_HOME="./apache-ant-1.7.0" +export ANT_HOME="./apache-ant-1.7.0" -./apache-ant-1.7.0/bin/ant \ No newline at end of file +./apache-ant-1.7.0/bin/ant -- 2.39.5