[jboss-cvs] JBossAS SVN: r63560 - branches/Branch_4_2/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 18 12:09:33 EDT 2007


Author: wolfc
Date: 2007-06-18 12:09:33 -0400 (Mon, 18 Jun 2007)
New Revision: 63560

Modified:
   branches/Branch_4_2/build/build.sh
Log:
Allow spaces in directory


Modified: branches/Branch_4_2/build/build.sh
===================================================================
--- branches/Branch_4_2/build/build.sh	2007-06-18 16:02:50 UTC (rev 63559)
+++ branches/Branch_4_2/build/build.sh	2007-06-18 16:09:33 UTC (rev 63560)
@@ -128,7 +128,7 @@
 	done
 
 	# make sure we get back
-	cd $_cwd
+	cd "$_cwd"
 
 	if [ "$cwd" != "$ROOT" ]; then
 	    found="true"
@@ -163,7 +163,7 @@
     if [ "x$ANT_DEBUG" != "x" ]; then
 	/bin/sh -x $ANT $ANT_OPTIONS "$@"
     else
-	exec $ANT $ANT_OPTIONS "$@"
+	exec "$ANT" $ANT_OPTIONS "$@"
     fi
 }
 




More information about the jboss-cvs-commits mailing list