mirror of https://github.com/aredn/aredn.git
build: correct nproc command
This commit is contained in:
parent
96722d980a
commit
5fb6e60cd2
|
@ -12,7 +12,7 @@ jobs:
|
||||||
name: Update Config.mk
|
name: Update Config.mk
|
||||||
command: |
|
command: |
|
||||||
export MY_WORKING_DIRECTORY=`pwd`
|
export MY_WORKING_DIRECTORY=`pwd`
|
||||||
export MY_PROCS=`nprocs`
|
export MY_PROCS=`nproc`
|
||||||
echo "Procs: ${MY_PROCS}"
|
echo "Procs: ${MY_PROCS}"
|
||||||
sed -i "s/NoCall/${CIRCLE_BUILD_NUM}/g" ${MY_WORKING_DIRECTORY}/config.mk
|
sed -i "s/NoCall/${CIRCLE_BUILD_NUM}/g" ${MY_WORKING_DIRECTORY}/config.mk
|
||||||
sed -i "s/MAKE_ARGS=-j3/MAKE_ARGS=-j${MY_PROCS}/g" ${MY_WORKING_DIRECTORY}/config.mk
|
sed -i "s/MAKE_ARGS=-j3/MAKE_ARGS=-j${MY_PROCS}/g" ${MY_WORKING_DIRECTORY}/config.mk
|
||||||
|
|
Loading…
Reference in New Issue