diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-06-06 22:54:21 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-06 22:54:21 +0200 |
commit | ca1f05897fb22ccdf94e5978f2fab7a96dca978c (patch) | |
tree | aa465d0eecad6359d00162fc0f353bc676d94224 /bin/reproducible_coreboot.sh | |
parent | 5a4b26958471fc30137f840627c774703b8afd43 (diff) | |
download | jenkins.debian.net-ca1f05897fb22ccdf94e5978f2fab7a96dca978c.tar.xz |
make grep more robust
Diffstat (limited to 'bin/reproducible_coreboot.sh')
-rwxr-xr-x | bin/reproducible_coreboot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index 9848ffe6..43d7ecaa 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -111,7 +111,7 @@ export TZ="/usr/share/zoneinfo/Etc/GMT+12" # prevent failing using more than one CPU sed -i 's#MAKE=$i#MAKE=make#' util/abuild/abuild # use all cores for first build -NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) +NUM_CPU=$(cat /proc/cpuinfo |grep '^processor'|wc -l) sed -i "s#cpus=1#cpus=$NUM_CPU#" util/abuild/abuild sed -i 's#USE_XARGS=1#USE_XARGS=0#g' util/abuild/abuild # actually build everything |