ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant build.sh
Date Mon, 24 Nov 2003 09:27:00 GMT
peterreilly    2003/11/24 01:27:00

  Modified:    .        build.sh
  Log:
  Protect PWD with quotations to allow ant to be placed in
  a directory with spaces
  
  Revision  Changes    Path
  1.38      +2 -2      ant/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/ant/build.sh,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- build.sh	10 Nov 2003 16:48:56 -0000	1.37
  +++ build.sh	24 Nov 2003 09:27:00 -0000	1.38
  @@ -16,10 +16,10 @@
   esac
   
   REALANTHOME=$ANT_HOME
  -if [ -z $PWD ]; then
  +if [ -z "$PWD" ]; then
       ANT_HOME=./bootstrap
   else
  -    ANT_HOME=$PWD/bootstrap
  +    ANT_HOME="$PWD"/bootstrap
   fi
   export ANT_HOME
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message