Commit 53a9ecb7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

upload: Use more compatible regular expression

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarLuca Bigliardi <>
parent 640b961e
......@@ -64,7 +64,7 @@ TXD=`mktemp -d`
trap 'rm -rf $TXD' EXIT
if [[ -f /proc/cpuinfo ]]; then
cpu_count=$(grep -E -c '^processor\s*:' /proc/cpuinfo)
cpu_count=$(grep -E -c '^processor[[:space:]]*:' /proc/cpuinfo)
make_args=-j$(( cpu_count + 1 ))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment