make --icecream 0 work
authorLudwig Nussel <ludwig.nussel@suse.de>
Tue, 14 Apr 2009 11:21:46 +0000 (11:21 +0000)
committerLudwig Nussel <ludwig.nussel@suse.de>
Tue, 14 Apr 2009 11:21:46 +0000 (11:21 +0000)
build

diff --git a/build b/build
index 6732ed8..0c96a31 100755 (executable)
--- a/build
+++ b/build
@@ -653,7 +653,9 @@ while test -n "$1"; do
           cleanup_and_exit 1
         fi
         icecream="$ARG"
-        BUILD_JOBS="$ARG"
+       if [ "$icecream" -gt 0 ]; then
+               BUILD_JOBS="$ARG"
+       fi
         shift
       ;;
       --ccache)