diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-08-12 01:36:31 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-18 18:19:12 +0200 |
commit | 9c85d116f0425817b4a631e7a693dc5c948e2470 (patch) | |
tree | 62bc1c5ee16f2bafee11093b7b752dd9c677ade3 /pacman-extra.conf | |
parent | 914ebe3a74287a7972fd4ba33ce3daa77ff96fc8 (diff) | |
download | devtools-9c85d116f0425817b4a631e7a693dc5c948e2470.tar.gz devtools-9c85d116f0425817b4a631e7a693dc5c948e2470.tar.xz |
checkpkg: avoid using PKGEXT to guess tarball name
We can't rely on PKGEXT since it's not sourced from a controlled
location. Case in point, if a user sets PKGEXT=.pkg.tar.gz, checkpkg
fails and offers no easy workaround.
Instead, use glob expansion to resolve the name of the tarball, bailing
if it can't be found definitively. This involves some refactoring to
avoid modifying PWD (which is advisable regardless).
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'pacman-extra.conf')
0 files changed, 0 insertions, 0 deletions