summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-03-09 12:27:55 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-03-09 12:27:55 -0700
commit70794e8dec5c2ffbfab87dd99e958f5ab2b6028e (patch)
tree819466f1a74c4ac8f26d82b8ef8df0f5883dc489
parentf7c44611feec38a882d0c5c87717fc9e5c2fd207 (diff)
downloaddevtools-70794e8dec5c2ffbfab87dd99e958f5ab2b6028e.tar.xz
makechrootpkg: remove 'local' keyword
Whoops. Not valid outside a function Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xmakechrootpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 06e3e74..69f9cff 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -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}"