Re: original package with CRLF as line separators
Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca> writes:
> Radovan Garabik wrote:
>
> > I am packaging a program, which uses CRLF as end of line (don't ask me how
> > it got there :-))
> > The problem is, I have to turn it to LF, because the program is a script
> > and won't run with CRLF. But if I do this, *.diff.gz will be as big as
> > *.orig.tar.gz. Isn't there a better way? Maybe running dos2unix in
> > debian/rules or so...
>
> That's what I'd do, creating new files in a staging subdirectory
> that you can remove in `make clean' (so that you can run
> `debian/rules binary' multiple times, so that the diff.gz stays
> small).
Also, if the upstream source is .zip, you can use the -a switch when
you unzip it. Or you could just repack the .orig.tar.gz withe the
unix EOL conventions respected.
--
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
Reply to: