Fork of Arch Linux devtools from https://git.archlinux.org/devtools.git
Go to file
Dave Reisner 9c85d116f0 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>
2013-08-18 18:19:12 +02:00
lib common: Properly forward arguments from die to error 2013-08-08 21:28:00 +02:00
.gitignore Update .gitignore 2013-05-25 22:17:30 +02:00
Makefile Prepare release 2013-08-08 22:51:14 +02:00
arch-nspawn.in arch-nspawn: allow oddly named directories 2013-08-18 18:17:05 +02:00
archbuild.in archbuild: Correct makechrootpkg argument order 2013-05-11 12:26:21 +02:00
archco.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
archrelease.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
archrm.in Use double brackets everywhere 2011-12-04 18:00:57 +01:00
bash_completion.in makechrootpkg: Remove add_to_db feature 2013-05-03 04:34:29 +02:00
checkpkg.in checkpkg: avoid using PKGEXT to guess tarball name 2013-08-18 18:19:12 +02:00
commitpkg.in ensure that PKGBUILDs aren't sourced via PATH 2013-08-18 18:17:31 +02:00
crossrepomove.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
find-libdeps.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
finddeps.in Make sure the usage functions are consistent 2012-11-15 15:25:07 +01:00
lddd.in Use #!/bin/bash instead of #!/bin/sh 2011-12-20 23:05:38 +01:00
makechrootpkg.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
makepkg-i686.conf Update makepkg.conf from pacman 4.1.2 2013-08-08 22:50:19 +02:00
makepkg-x86_64.conf Update makepkg.conf from pacman 4.1.2 2013-08-08 22:50:19 +02:00
mkarchroot.in avoid injecting code into the format string 2013-08-08 21:28:10 +02:00
pacman-extra.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-gnome-unstable.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-kde-unstable.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-multilib-staging.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-multilib-testing.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-multilib.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-staging.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
pacman-testing.conf Sync pacman.conf and makepkg.conf with pacman 4.1 2013-04-06 18:59:16 +02:00
rebuildpkgs.in Use nymeria instead of gerolde 2013-01-20 18:24:04 +01:00
zsh_completion.in makechrootpkg: Remove add_to_db feature 2013-05-03 04:34:29 +02:00