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 23414] - using zip task on windows makes shell script unusable in linux
Date Thu, 25 Sep 2003 15:39:13 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=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


Mime
View raw message