summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-05-25 16:08:00 -0400
committerNat Goodspeed <nat@lindenlab.com>2018-05-25 16:08:00 -0400
commit8781b36d7ee5d6532fb6534caa595166ad00f04d (patch)
tree3cc6e4faabfd98b2fcd84cb1cfff9e17d2760e78 /build.sh
parent63fe7d802aad177107ef8e3bc0c9b7ea5118ad61 (diff)
SL-821: export BUGSPLAT_DB when loaded so child processes can detect.
Produce CMake message when BugSplat is engaged so we can detect in build log. Don't try to copy BugSplat DLLs when NOT engaged.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 7e44c6fee3..cf18c3f541 100755
--- a/build.sh
+++ b/build.sh
@@ -110,6 +110,11 @@ pre_build()
then # show that we're doing this, just not the contents
echo source "$bugsplat_sh"
source "$bugsplat_sh"
+ # important: we test this and use its value in [grand-]child processes
+ if [ -n "${BUGSPLAT_DB:-}" ]
+ then echo export BUGSPLAT_DB
+ export BUGSPLAT_DB
+ fi
fi
set -x