Skip to content

Commit 9446378

Browse files
committed
fix handling of paths
1 parent c4311b7 commit 9446378

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
set -eu
44

5+
HERE=$(dirname ${BASH_SOURCE:-$0})
6+
pushd "$(dirname "$(dirname $HERE)")" > /dev/null
7+
8+
# Source the env files to pick up common variables.
9+
if [ -f $HERE/env.sh ]; then
10+
. $HERE/env.sh
11+
fi
12+
513
_BIN_DIR=${PYMONGO_BIN_DIR:-}
614

715
# Helper function to pip install a dependency using a temporary python env.

0 commit comments

Comments
 (0)