summaryrefslogtreecommitdiff
path: root/commitpkg.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-01-19 18:45:01 +0100
committerPierre Schmitz <pierre@archlinux.de>2012-01-19 18:45:01 +0100
commitb763788b163c428652c0c6b1f6e9a1d89aae68e1 (patch)
tree138169673db7969ecd426abd79ea8a94116bf402 /commitpkg.in
parentc2d9a0e7b145c603659df63e775ecf4a56b62c8e (diff)
Fix typo: It's PKGDEST and not DESTDIR
Diffstat (limited to 'commitpkg.in')
-rw-r--r--commitpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg.in b/commitpkg.in
index 9cc4912..bf3a5ab 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -135,7 +135,7 @@ for _arch in ${arch[@]}; do
fullver=$(get_full_version $_pkgname)
if ! pkgfile=$(shopt -s nullglob;
- getpkgfile "${DESTDIR+$DESTDIR/}$_pkgname-$fullver-${_arch}".pkg.tar.?z); then
+ getpkgfile "${PKGDEST+$PKGDEST/}$_pkgname-$fullver-${_arch}".pkg.tar.?z); then
warning "Skipping $_pkgname-$fullver-$_arch: failed to locate package file"
skip_arches+=($_arch)
continue 2