| Index: src/scripts/common.sh
|
| diff --git a/src/scripts/common.sh b/src/scripts/common.sh
|
| index 25dee4a3ed6c634b6d287689e539a83ea97db76a..8b6fe5809d6e452018e1526d384cbec686ebbd54 100644
|
| --- a/src/scripts/common.sh
|
| +++ b/src/scripts/common.sh
|
| @@ -12,7 +12,7 @@
|
|
|
| # The number of jobs to pass to tools that can run in parallel (such as make
|
| # and dpkg-buildpackage
|
| -NUM_JOBS=`cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'`
|
| +NUM_JOBS=`grep -c "^processor" /proc/cpuinfo`
|
|
|
| # Store location of the calling script.
|
| TOP_SCRIPT_DIR="${TOP_SCRIPT_DIR:-$(dirname $0)}"
|
|
|