Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/pacscripts.in
diff options
context:
space:
mode:
authorlolilolicon <lolilolicon@gmail.com>2011-10-01 15:31:00 +0800
committerDan McGee <dan@archlinux.org>2011-10-03 10:59:10 -0500
commit94bc64ae1bd6a51d71829a58a2e1972f629d47fb (patch)
tree99f5823b8099b0205bd4e5491c668d7fa44f7936 /contrib/pacscripts.in
parentc4d6688694975c877e6bff3d6147ae23207a0cbe (diff)
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 'contrib/pacscripts.in')
0 files changed, 0 insertions, 0 deletions