diff options
author | lolilolicon <lolilolicon@gmail.com> | 2011-10-01 15:31:00 +0800 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-03 10:59:10 -0500 |
commit | 94bc64ae1bd6a51d71829a58a2e1972f629d47fb (patch) | |
tree | 99f5823b8099b0205bd4e5491c668d7fa44f7936 /lib/libalpm/db.c | |
parent | c4d6688694975c877e6bff3d6147ae23207a0cbe (diff) | |
download | pacman-94bc64ae1bd6a51d71829a58a2e1972f629d47fb.tar.xz |
makepkg: create tar file for bogus PKGEXT
If PKGEXT is not one of the recognized tar*'s, create_package() would
create an empty package file and fail, since bsdtar on the left side of
the pipe returns 141 on SIGPIPE (broken pipe).
This patch changes the behavior for an invalid PKGEXT. A warning is
printed on stderr, and a tar file is created. Also retire the obsolete
$EXT variable.
Add the obligatory comment why we don't use bsdtar's compression.
Finally, fix mixed-tab-space indentation.
Signed-off-by: lolilolicon <lolilolicon@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions