ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17452] New: - ant shell script fails to quote directory
Date Wed, 26 Feb 2003 20:45:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17452>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17452

ant shell script fails to quote directory

           Summary: ant shell script fails to quote directory
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: deccles@mitre.org


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"

Mime
View raw message