Fix false set -e termination

`readconfig()` would return the result of `[ -z "$CBUILDROOT" ]` condition (line 123) and trigger shell termination in abuild.
This also fixes building packages with a different $CTARGET and therefore cross-compile tools.
This commit is contained in:
Andrej 2017-04-21 04:53:18 +02:00 committed by William Pitcock
parent 5b7b1f80cb
commit 033349d31c

View File

@ -149,6 +149,7 @@ readconfig() {
export LDFLAGS="--sysroot=${CBUILDROOT} $LDFLAGS"
fi
fi
return 0
}
readconfig