[pacman-dev] [Fwd: [arch-general] PKGBUILD and DOS line endings]
aaronmgriffin at gmail.com
Sat Dec 6 19:06:37 EST 2008
On Sat, Dec 6, 2008 at 11:48 AM, Dan McGee <dpmcgee at gmail.com> wrote:
> On Sat, Dec 6, 2008 at 8:37 AM, Allan McRae <allan at archlinux.org> wrote:
>> Should we be handling this issue?
> I feel like a slightly more descriptive failure message wouldn't hurt.
> Is it easy to handle? Someone would need to do some playing.
I don't think this is easy to handle, as it's at the bash level. You
could maybe run "file" on the PKGBUILD to check...
$ file testdos
testdos: ASCII text, with CRLF line terminators
$ file testunix
testunix: ASCII text
More information about the pacman-dev