From f72775feaceed4d6c77e635978be5d0ada5954ef Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 3 Mar 2010 21:38:59 +0100 Subject: PKGEXT was not defined in the context --- makechrootpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makechrootpkg b/makechrootpkg index 0446c46..a81cba2 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -196,14 +196,14 @@ cd /build export HOME=/build sudo -u nobody makepkg $MAKEPKG_ARGS || touch BUILD_FAILED [ -f BUILD_FAILED ] && exit 1 -which namcap &>/dev/null && namcap /build/PKGBUILD /pkgdest/*${PKGEXT} > /pkgdest/namcap.log +which namcap &>/dev/null && namcap /build/PKGBUILD /pkgdest/*.pkg.tar.* > /pkgdest/namcap.log exit 0 EOF ) > "$copydir/chrootbuild" chmod +x "$copydir/chrootbuild" if mkarchroot -r "/chrootbuild" "$copydir"; then - for pkgfile in "${copydir}"/pkgdest/*${PKGEXT}; do + for pkgfile in "${copydir}"/pkgdest/*.pkg.tar.*; do [ -e "$pkgfile" ] || continue _pkgname=$(basename "$pkgfile") if [ "$add_to_db" -eq "1" ]; then -- cgit v1.2.3-24-g4f1b