ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/script ant
Date Fri, 12 Jul 2002 15:15:46 GMT
bodewig     2002/07/12 08:15:46

  Modified:    .        WHATSNEW
               src/script ant
  Log:
  More quotes.
  
  I think it has been Diane who said we could almost put the entire
  script into quotes - she's been right.
  
  PR: 9550
  
  Revision  Changes    Path
  1.274     +3 -0      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.273
  retrieving revision 1.274
  diff -u -r1.273 -r1.274
  --- WHATSNEW	12 Jul 2002 10:50:01 -0000	1.273
  +++ WHATSNEW	12 Jul 2002 15:15:46 -0000	1.274
  @@ -7,6 +7,9 @@
   * The sh wrapper script didn't work under Cygwin if ANT_HOME wasn't
     set with a Unix style filename.
   
  +* The sh wrapper script could fail if you started Ant from a directory
  +  with whitespace in its name.
  +
   Other changes:
   --------------
   
  
  
  
  1.23      +3 -3      jakarta-ant/src/script/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/script/ant,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ant	10 Jul 2002 21:46:11 -0000	1.22
  +++ ant	12 Jul 2002 15:15:46 -0000	1.23
  @@ -39,8 +39,8 @@
       ANT_HOME=/opt/ant
     fi
   
  -  if [ -d ${HOME}/opt/ant ] ; then 
  -    ANT_HOME=${HOME}/opt/ant
  +  if [ -d "${HOME}/opt/ant" ] ; then 
  +    ANT_HOME="${HOME}/opt/ant"
     fi
   
     ## resolve links - $0 may be a link to ant's home
  @@ -66,7 +66,7 @@
     # make it fully qualified
     ANT_HOME=`cd "$ANT_HOME" && pwd`
   
  -  cd $saveddir
  +  cd "$saveddir"
   fi
   
   # For Cygwin, ensure paths are in UNIX format before anything is touched
  
  
  

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


Mime
View raw message