diff options
Diffstat (limited to 'opal-ci/build-centos7.sh')
-rwxr-xr-x | opal-ci/build-centos7.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opal-ci/build-centos7.sh b/opal-ci/build-centos7.sh index b1234b37..44733345 100755 --- a/opal-ci/build-centos7.sh +++ b/opal-ci/build-centos7.sh @@ -7,15 +7,15 @@ set -vx # We're limited as to what we want to bother to run on CentOS7 # It's fairly old and some of the things (e.g. build+run qemu) we don't # want to bother doing. -if [ `arch` == "x86_64" ]; then +if [ $(arch) == "x86_64" ]; then export CROSS=/opt/cross/gcc-4.8.0-nolibc/powerpc64-linux/bin/powerpc64-linux- fi # Note that this doesn't work on centos7 because "/lib64/ld64.so.2: version `GLIBC_2.22' not found" -if [ `arch` == "ppc64le" ]; then +if [ $(arch) == "ppc64le" ]; then export CROSS=/opt/cross/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- fi -MAKE_J=`grep -c processor /proc/cpuinfo` +MAKE_J=$(grep -c processor /proc/cpuinfo) make -j${MAKE_J} all make -j${MAKE_J} check @@ -28,5 +28,5 @@ SKIBOOT_GCOV=1 make -j${MAKE_J} check make clean rm -rf builddir mkdir builddir -make SRC=`pwd` -f ../Makefile -C builddir -j${MAKE_J} +make SRC=$(pwd) -f ../Makefile -C builddir -j${MAKE_J} make clean |