Fix typo: It's PKGDEST and not DESTDIR

This commit is contained in:
Pierre Schmitz 2012-01-19 18:45:01 +01:00
parent c2d9a0e7b1
commit b763788b16
1 changed files with 1 additions and 1 deletions

View File

@ -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