Commit 415c9c14 by Eric Saxby

Set MAKE_OPTS only if MAKEOPTS is present [GH issue #149]

parent cacc406e
......@@ -129,7 +129,7 @@ build_package() {
build_package_standard() {
local package_name="$1"
if [ -z "${MAKEOPTS+defined}" ]; then
if [ "${MAKEOPTS+defined}" ]; then
MAKE_OPTS="$MAKEOPTS"
elif [ -z "${MAKE_OPTS+defined}" ]; then
MAKE_OPTS="-j 2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment