[Nasm-devel] Bad line endings in configure file in zip file

Keith Thompson Keith.S.Thompson at gmail.com
Mon Feb 5 13:15:38 PST 2024


In https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.zip, the
configure script has Windows-style CRLF line endings. This makes it
impossible to run, either with ./configure or sh ./configure:

$ ./configure
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
$ sh ./configure
: not found: 15:
./configure: 33: Syntax error: newline unexpected (expecting ")")
$

I used "unzip -b" on Ubuntu, which turns off any text format conversions
and treats all files as binary, so the problem isn't in how the files are
unpacked.

I haven't checked other files.

My guess is that this hasn't been noticed because most users would download
a tarball rather than a zipfile. The .tar.gz file is correct.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nasm.us/archives/nasm-devel/attachments/20240205/118fb14e/attachment.htm>


More information about the Nasm-devel mailing list