makechrootpkg: remove 'local' keyword
Whoops. Not valid outside a function Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
f7c44611fe
commit
70794e8dec
|
@ -231,7 +231,7 @@ if mkarchroot -r "/chrootbuild" "$uniondir"; then
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
fi
|
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 [ -e "$pkgfile" ]; then
|
||||||
if [ -n "$PKGDEST" ]; then
|
if [ -n "$PKGDEST" ]; then
|
||||||
echo "Moving completed package file to ${PKGDEST}"
|
echo "Moving completed package file to ${PKGDEST}"
|
||||||
|
|
Loading…
Reference in New Issue