diff options
author | Ryan Egesdahl <ryan.egesdahl@mongodb.com> | 2022-03-08 17:55:04 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-12-28 22:26:44 +0000 |
commit | c04db1e0b2c619ff74eec7219e392e6253ba05fa (patch) | |
tree | 2e79dc408ebf632e962d33a984fbac8fcc027038 | |
parent | 0ad1c7a979d8e412ad96c7af42b1ededc8dee810 (diff) | |
download | mongo-c04db1e0b2c619ff74eec7219e392e6253ba05fa.tar.gz |
SERVER-61032 Fix hang_hanalyzer $PATH
(cherry picked from commit 682f784e93b1602f0dcd74115e2105e1433857f5)
(cherry picked from commit 6da1c8ecb87cbf421054a1b426c14d36481df27f)
-rw-r--r-- | buildscripts/setup_spawnhost_coredump | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/setup_spawnhost_coredump b/buildscripts/setup_spawnhost_coredump index 7c73efcd7f7..2f313666786 100644 --- a/buildscripts/setup_spawnhost_coredump +++ b/buildscripts/setup_spawnhost_coredump @@ -3,7 +3,7 @@ cat >> ~/.profile <<EOF # Coredumps generated by a toolchain built mongodb can be problematic when examined with the system # gdb. -export PATH=/opt/mongodbtoolchain/v3/bin:$PATH +export PATH=$PATH:/opt/mongodbtoolchain/v3/bin # As per below, put the user into the appropriate directory. This is where gdb is expected to be # invoked from. cd debug @@ -21,7 +21,7 @@ echo echo "To examine a core dump, type 'gdb ./<binary> ./<core file>'" EOF -export PATH=/opt/mongodbtoolchain/v3/bin:$PATH +export PATH=$PATH:/opt/mongodbtoolchain/v3/bin echo 'if [ -f ~/.profile ]; then . ~/.profile fi' >> .bash_profile |