Bug 9550

Summary: ant script needs " around directory names
Product: Ant Reporter: bafish <willg>
Component: Wrapper scriptsAssignee: Ant Notifications List <notifications>
Status: RESOLVED FIXED    
Severity: minor CC: apache, deccles
Priority: P3    
Version: 1.5   
Target Milestone: 1.5.2   
Hardware: PC   
OS: All   

Description bafish 2002-05-31 19:28:21 UTC
I'm running Win2K using cygwin and our repostory has directories with spaces in
them.  The script at ./jakarta-ant-1.5beta1/bin/ant needs quotes around the
argument passed to cd.  From:

   cd $savedir

to:

   cd "$savedir"

Otherwise ant can't seem to find the build.xml file in the current directory.  I
also downloaded and tried the 1.6Alpha nightly build for 5/30/2002 and it has
the same problem.

/will
Comment 1 Stefan Bodewig 2002-07-12 14:53:16 UTC
*** Bug 10695 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Bodewig 2002-07-12 15:16:29 UTC
Thanks
Comment 3 Stefan Bodewig 2002-07-16 07:13:36 UTC
A fixed version of the script is available as a side-effect of
<http://jakarta.apache.org/ant/faq.html#1.5-cygwin-sh>.
Comment 4 Conor MacNeill 2003-02-26 22:14:29 UTC
*** Bug 17452 has been marked as a duplicate of this bug. ***