spec/shared/shlib/set_env.sh in mongo-2.18.2 vs spec/shared/shlib/set_env.sh in mongo-2.18.3

- old
+ new

@@ -1,7 +1,7 @@ # When changing, also update the hash in share/Dockerfile. -TOOLCHAIN_VERSION=219833abad4d9d3bf43c0fef101a8ca082ac4ae9 +TOOLCHAIN_VERSION=e8c60866f54bed7e336a37df3a97d6ae1b971b7d set_env_java() { ls -l /opt || true ls -l /usr/lib/jvm || true @@ -51,19 +51,19 @@ # If we are running in Docker and not preloading, we need to fetch the # Python binary. curl -fL --retry 3 https://github.com/p-mongodb/deps/raw/main/"$arch"-python37.tar.xz | \ tar xfJ - -C /opt fi - + if test -d /opt/python/3.7/bin; then # Most Evergreen configurations. export PATH=/opt/python/3.7/bin:$PATH elif test -d /opt/python37/bin; then # Configurations that use Docker in Evergreen - these don't preload. export PATH=/opt/python37/bin:$PATH fi - + python3 -V fi } set_env_node() { @@ -76,10 +76,10 @@ export PATH="$dir/bin:$PATH" elif test -d /opt/node/bin; then # Node from toolchain in Evergreen export PATH=/opt/node/bin:$PATH fi - + node -v } set_env_ruby() { if test -z "$RVM_RUBY"; then