Permalink
Browse files

Assigned 2 as default for $threads

  • Loading branch information...
1 parent c70a011 commit f94cf2b50a0b4cfa96d4e5f0e1682c376d6bd3e4 @pakdel pakdel committed Sep 14, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 installer
View
@@ -140,9 +140,8 @@ echo " ======================================================================
echo ""
echo ""
-if [ $1 -gt 0 ]; then
- threads=$1
-else
+threads=${1:-2}
+if [ $threads -le 0 ]; then
threads=2
fi
echo "make -j${threads}"

0 comments on commit f94cf2b

Please sign in to comment.