From b763788b163c428652c0c6b1f6e9a1d89aae68e1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 19 Jan 2012 18:45:01 +0100 Subject: Fix typo: It's PKGDEST and not DESTDIR --- commitpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b