index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Pierre Schmitz <pierre@archlinux.de> | 2011-11-06 10:31:37 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-11-06 10:31:37 +0100 |
commit | bf96c9f949aea3ef66769a2aae78d5cf4c777458 (patch) | |
tree | c6d01b51891309d1ba454bf0dcd914b84be69faf | |
parent | a030cdc532269521eba07c57137760a969e788a4 (diff) |
-rw-r--r-- | makechrootpkg.in | 9 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index d128ff4..8e0b6ee 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -274,7 +274,10 @@ sudo -u nobody makepkg $makepkg_args || touch BUILD_FAILED if $run_namcap; then pacman -S --needed --noconfirm namcap - namcap /build/PKGBUILD /pkgdest/*.pkg.tar.?z > /build/namcap.log + for pkgfile in /build/PKGBUILD /pkgdest/*.pkg.tar.?z; do + echo "Checking \${pkgfile##*/}" + namcap "\$pkgfile" 2>&1 | tee "/build/\${pkgfile##*/}-namcap.log" + done fi exit 0 @@ -282,7 +285,7 @@ EOF chmod +x "$copydir/chrootbuild" if mkarchroot -r "/chrootbuild" "$copydir"; then - for pkgfile in "$copydir"/pkgdest/*.pkg.tar.*; do + for pkgfile in "$copydir"/pkgdest/*.pkg.tar.?z; do if $add_to_db; then mkdir -p "$copydir/repo" pushd "$copydir/repo" >/dev/null @@ -294,7 +297,7 @@ if mkarchroot -r "/chrootbuild" "$copydir"; then mv "$pkgfile" "$PKGDEST" done - for l in "$copydir"/build/{namcap,*-{build,check,package,package_*}}.log; do + for l in "$copydir"/build/*-{build,check,namcap,package,package_*}.log; do [[ -f $l ]] && mv "$l" . done else |