Skip to content
Snippets Groups Projects
Commit 53a9ecb7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

upload: Use more compatible regular expression


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarLuca Bigliardi <shammash@google.com>
parent 640b961e
No related branches found
No related tags found
No related merge requests found
......@@ -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 ))
else
make_args=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment