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=10695>.
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=10695

Startup error when running ant from a directory whose name contains spaces

           Summary: Startup error when running ant from a directory whose
                    name contains spaces
           Product: Ant
           Version: 1.5
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


lines 49 and 69 of the 'ant' sh script are:

  saveddir=`pwd`
  cd $saveddir

This 'cd' command fails if ant is run from a directory whose name contains 
spaces:

% pwd
/private/tmp/foo bar
% ant
/usr/local/bin/ant: cd: string not in pwd: /tmp/foo [69]

Line 69 should instead read:

  cd "$saveddir"

Note that this bug does not manifest itself all the time, as lines 36-70 are
only reached if the user has not defined $ANT_HOME.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to