You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/12/03 01:53:17 UTC
DO NOT REPLY [Bug 15012] New: -
ant wrapper breaks when its path contains spaces
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=15012>.
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=15012
ant wrapper breaks when its path contains spaces
Summary: ant wrapper breaks when its path contains spaces
Product: Ant
Version: 1.5.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Wrapper scripts
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: scott_howlett@yahoo.com
The following line in "ant":
cd `dirname "$PRG"`
is wrong - the argument to cd needs to be quoted. One possible solution:
dirname_prg=`dirname "$PRG"`
cd "$dirname_prg"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>