From 033349d31c9b4a558ca5ed5b88cd8e0a4bb5b762 Mon Sep 17 00:00:00 2001 From: Andrej Date: Fri, 21 Apr 2017 04:53:18 +0200 Subject: 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. --- functions.sh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'functions.sh.in') diff --git a/functions.sh.in b/functions.sh.in index 925dc43..48b62b2 100644 --- a/functions.sh.in +++ b/functions.sh.in @@ -149,6 +149,7 @@ readconfig() { export LDFLAGS="--sysroot=${CBUILDROOT} $LDFLAGS" fi fi + return 0 } readconfig -- cgit v1.2.3