[arch-general] PKGBUILD and DOS line endings

Alessandro Doro ordo.ad at gmail.com
Sat Dec 6 09:32:26 EST 2008


I found in AUR a PKGBUILD with DOS line endings.
See what happens:

$ makepkg
: command not found

==> ERROR: An unknown error has occured. Exiting...


makepkg simply sources "$BUILDSCRIPT" and bash treats '\r' literally.

The PKGBUILD maintainer is surely to be blamed and I don't think that
`makepkg' should try to catch this error (sorry for some innocent user).

Just wanted to expose this "feature".

bye


More information about the arch-general mailing list