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 2003/09/25 17:39:13 UTC

DO NOT REPLY [Bug 23414] - using zip task on windows makes shell script unusable in linux

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

using zip task on windows makes shell script unusable in linux





------- Additional Comments From bodewig@apache.org  2003-09-25 15:39 -------
My guess is that your shell script contains cariage return letters (i.e. Windows
line-ends).

The ZIP format has a flag that says that a file is a text file and unzip recognizes
this - and will adapt the line-ends if it finds such a file.  Ant will never set
that flag while I assume WinZIP does (but don't ask my what it bases its decision
on).

If you want to be absolutely sure, run <fixcrlf> on the shell script and remove
all cariage-returns before you zip up your archive.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org