diff options
author | 2016-03-24 01:25:28 -0400 | |
---|---|---|
committer | 2016-03-24 01:25:28 -0400 | |
commit | bc16472a156e4edf40d38251bb59e2bbc79c79a5 (patch) | |
tree | 8a4401fa3e9633a1d94c0a1e33240ac95dd0ebcc | |
parent | Don't hardcode format for source_subpath. (diff) | |
download | releng-bc16472a156e4edf40d38251bb59e2bbc79c79a5.tar.gz releng-bc16472a156e4edf40d38251bb59e2bbc79c79a5.tar.bz2 releng-bc16472a156e4edf40d38251bb59e2bbc79c79a5.zip |
catalyst-auto: allow configs to set BUILD_SRCDIR_BASE
At least the amd64/x86 ones do this via ../config/build.env files.
-rwxr-xr-x | tools/catalyst-auto | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 75f6a84a..cc205052 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -170,7 +170,8 @@ if [[ $doneconfig -eq 0 ]]; then exit 1 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. if [[ ${lastrun} -ne 0 ]]; then |