Commit 70794e8d authored by Aaron Griffin's avatar Aaron Griffin
Browse files

makechrootpkg: remove 'local' keyword



Whoops. Not valid outside a function

Signed-off-by: default avatarAaron Griffin <aaronmgriffin@gmail.com>
parent f7c44611
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}"