diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-03-03 21:38:59 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-03-03 21:38:59 +0100 |
commit | f72775feaceed4d6c77e635978be5d0ada5954ef (patch) | |
tree | 442dd7938d4d6e13544c22914645cfb1af0ccdea /makechrootpkg | |
parent | 371f57b0438ccc7c54ab61e5cd1a1482bafc783a (diff) | |
download | devtools-f72775feaceed4d6c77e635978be5d0ada5954ef.tar.gz devtools-f72775feaceed4d6c77e635978be5d0ada5954ef.tar.xz |
PKGEXT was not defined in the context
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-x | makechrootpkg | 4 |
1 files 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 |