summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2021-01-12 11:55:14 +0100
committerbartus2021-01-12 11:55:14 +0100
commit24817bd42ec7f75988c66d8b7f1b5c9a8c7725c7 (patch)
tree9f1413df4c90fd295767183ae15ebea24eae96ca
parent3e2a772ed04b44e620a4361aad60ccaec1a500b5 (diff)
downloadaur-24817bd42ec7.tar.gz
Fix empty MAKEFLAGS issue
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7817fa1c19b..b0a028299d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,7 +35,7 @@ prepare() {
build() {
export _stagedir="${srcdir}/stagedir"
- local JOBS; JOBS="$(grep -oP -- "-j\s*[0-9]+" <<< "${MAKEFLAGS}")"
+ local JOBS; JOBS="$(grep -oP -- "-j\s*[0-9]+" <<< "${MAKEFLAGS}")" || JOBS="-j1"
cd ${pkgbase%-python2}_${_boostver}