Bug 17452

Summary: ant shell script fails to quote directory
Product: Ant Reporter: David Eccleston <deccles>
Component: Wrapper scriptsAssignee: Ant Notifications List <notifications>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 1.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description David Eccleston 2003-02-26 20:44:59 UTC
If your application is in a directory with a space in it the following error occurs:

   [deccles@mummy My Project]$ ant clean
   /usr/local/bin/ant: cd: /export/home/deccles/My: No such file or directory
   Buildfile: build.xml does not exist!
   Build Failed

Changing line 70 to this fixes the problem:
   cd "$saveddir"
Comment 1 Conor MacNeill 2003-02-26 22:14:26 UTC

*** This bug has been marked as a duplicate of 9550 ***