[pacman-dev] [PATCH v2] makepkg: create tar file for bogus PKGEXT

Allan McRae allan at archlinux.org
Sun Oct 2 01:40:52 EDT 2011

On 01/10/11 17:31, lolilolicon wrote:
> 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.
> Also add the obligatory comment why we don't use bsdtar's compression.
> Finally, fix mixed-tab-space indentation.
> Signed-off-by: lolilolicon<lolilolicon at gmail.com>

Looks good now.

Signed-off-by: Allan

More information about the pacman-dev mailing list