mirror of https://github.com/aredn/aredn.git
Merge pull request #56 from dman776/build_updates
build: correct nproc command
This commit is contained in:
commit
0913db7b31
|
@ -12,7 +12,7 @@ jobs:
|
|||
name: Update Config.mk
|
||||
command: |
|
||||
export MY_WORKING_DIRECTORY=`pwd`
|
||||
export MY_PROCS=`nprocs`
|
||||
export MY_PROCS=`nproc`
|
||||
echo "Procs: ${MY_PROCS}"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue