samba: don't export JOBS if $MAKEFLAGS is not defined
This commit is contained in:
parent
fe3ec3fb48
commit
f6fee17e74
@ -12,6 +12,7 @@ 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)
|
||||
|
||||
./configure --enable-fhs \
|
||||
|
Loading…
x
Reference in New Issue
Block a user