File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 3
3
set -eux
4
4
5
5
HERE=$( dirname ${BASH_SOURCE:- $0 } )
6
+ HERE=" $( cd -- " $HERE " > /dev/null 2>&1 && pwd ) "
6
7
ROOT=$( dirname " $( dirname $HERE ) " )
7
8
pushd $ROOT > /dev/null
8
9
9
- pwd
10
-
11
- echo " ROOT=$ROOT "
12
-
13
10
# Source the env files to pick up common variables.
14
11
if [ -f $HERE /env.sh ]; then
15
12
. $HERE /env.sh
22
19
# Ensure dependencies are installed.
23
20
bash $HERE /install-dependencies.sh
24
21
25
- pwd
26
22
# Set the location of the python bin dir.
27
23
if [ " Windows_NT" = " ${OS:- } " ]; then
28
24
BIN_DIR=.venv/Scripts
32
28
33
29
# Ensure there is a python venv.
34
30
if [ ! -d $BIN_DIR ]; then
35
- ls
36
- ls .evergreen
37
- . .evergreen/utils.sh
31
+ . $ROOT /.evergreen/utils.sh
38
32
39
33
if [ -z " ${PYTHON_BINARY:- } " ]; then
40
34
PYTHON_BINARY=$( find_python3)
You can’t perform that action at this time.
0 commit comments