makechrootpkg: remove 'local' keyword

Whoops. Not valid outside a function

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2009-03-09 12:27:55 -07:00
parent f7c44611fe
commit 70794e8dec
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ if mkarchroot -r "/chrootbuild" "$uniondir"; then
popd >/dev/null
fi
local pkgfile=${chrootdir}/union/pkgdest/${pkgname}-${pkgver}-${pkgrel}-*.pkg.tar.gz
pkgfile=${chrootdir}/union/pkgdest/${pkgname}-${pkgver}-${pkgrel}-*.pkg.tar.gz
if [ -e "$pkgfile" ]; then
if [ -n "$PKGDEST" ]; then
echo "Moving completed package file to ${PKGDEST}"