samba: better fix for the last commit, only export JOBS if nonzero
This commit is contained in:
parent
f6fee17e74
commit
40a284ca7a
@ -12,8 +12,8 @@ source=(http://www.samba.org/samba/ftp/stable/$name-$version.tar.gz \
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
||||
test -n "$MAKEFLAGS" && \
|
||||
export JOBS=$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
|
||||
local JOBS=$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
|
||||
test -n "$JOBS" && export JOBS="$JOBS"
|
||||
|
||||
./configure --enable-fhs \
|
||||
--prefix=/usr \
|
||||
|
Loading…
x
Reference in New Issue
Block a user