catalyst-auto: Add fallback for unset storedir

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2020-04-30 16:12:56 -07:00
parent 0a25be6d75
commit 51d806875e

View file

@ -268,6 +268,7 @@ run_catalyst_commands() {
# Some configs will set this explicitly, so don't clobber it.
: ${BUILD_SRCDIR_BASE:=$(catalyst_var storedir)}
: ${BUILD_SRCDIR_BASE:=/var/tmp/catalyst}
# See if we had a recent success.
if [[ ${lastrun} != 0 ]]; then