* Revert r21410 because it breaks handling of "--max-jobs".

svn path=/nixos/trunk/; revision=26187
This commit is contained in:
Eelco Dolstra 2011-03-07 12:12:39 +00:00
parent 908a025b22
commit 5cff6eda3d

View File

@ -84,15 +84,9 @@ while test "$#" -gt 0; do
--show-trace|--no-build-hook|--keep-failed|-K|--keep-going|-k|--verbose|-v|--fallback)
extraBuildFlags="$extraBuildFlags $i"
;;
--max-jobs|-j*)
if [ -z "${i:2}" ]; then
# -j n
extraBuildFlags="$extraBuildFlags $i $1"
shift 1
else
# -jn
extraBuildFlags="$extraBuildFlags $i"
fi
--max-jobs|-j)
j="$1"; shift 1
extraBuildFlags="$extraBuildFlags $i $j"
;;
--fast)
buildNix=