catalyst-auto: allow configs to set BUILD_SRCDIR_BASE

At least the amd64/x86 ones do this via ../config/build.env files.
This commit is contained in:
Mike Frysinger 2016-03-24 01:25:28 -04:00
parent 1652029114
commit bc16472a15

View file

@ -170,7 +170,8 @@ if [[ $doneconfig -eq 0 ]]; then
exit 1 exit 1
fi fi
BUILD_SRCDIR_BASE=$(catalyst_var storedir) # Some configs will set this explicitly, so don't clobber it.
: ${BUILD_SRCDIR_BASE:=$(catalyst_var storedir)}
# See if we had a recent success. # See if we had a recent success.
if [[ ${lastrun} -ne 0 ]]; then if [[ ${lastrun} -ne 0 ]]; then