diff --git a/samba/Pkgfile b/samba/Pkgfile index 1a8b97a86..37113c149 100644 --- a/samba/Pkgfile +++ b/samba/Pkgfile @@ -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 \