summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 14:56:11 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-26 14:56:11 -0500
commitff1baad018f837ac813b460447f0be85c3bdd4d6 (patch)
tree217e55c475885787c5f148b1640cdf39c550753a
parent9586c7a26566a5f404f9ba6fbc89aad6a1ce48a2 (diff)
* nonfree filter fixed on fullpkg-ng
-rwxr-xr-xfullpkg-ng10
1 files changed, 6 insertions, 4 deletions
diff --git a/fullpkg-ng b/fullpkg-ng
index 6be9a22..e871a7b 100755
--- a/fullpkg-ng
+++ b/fullpkg-ng
@@ -197,10 +197,12 @@ function _pkg_build () {
update_queue || {
warning "Couldn't update the queue, let your partners know about this."
}
- pkgbuild-check-nonfree || [ $? -eq 15 ] && {
- echo "nonfree:$(basename $PWD)" >> $build_dir/log
- egrep -vwh "$(basename $PWD)" $buildorder > $buildorder.2
- continue
+ pkgbuild-check-nonfree || {
+ if [ $? -eq 15 ]; then
+ echo "nonfree:$(basename $PWD)" >> $build_dir/log
+ egrep -vwh "$(basename $PWD)" $buildorder > $buildorder.2
+ continue
+ fi
}
$FULLBUILDCMD; r=$?
case $r in