Skip to content

Commit 9e69957

Browse files
committed
fix handling of paths
1 parent a043ade commit 9e69957

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.evergreen/run-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ export UV_FROZEN=1 # Do not modify lock files
1111
# Try to source the env file.
1212
if [ -f $SCRIPT_DIR/scripts/env.sh ]; then
1313
echo "Sourcing env inputs"
14-
source $SCRIPT_DIR/scripts/env.sh
14+
. $SCRIPT_DIR/scripts/env.sh
1515
else
1616
echo "Not sourcing env inputs"
1717
fi
1818

1919
# Ensure there are test inputs.
2020
if [ -f $SCRIPT_DIR/scripts/test-env.sh ]; then
2121
echo "Sourcing test inputs"
22-
source $SCRIPT_DIR/scripts/test-env.sh
22+
. $SCRIPT_DIR/scripts/test-env.sh
2323
else
2424
echo "Missing test inputs, please run 'just setup-test'"
2525
fi
2626

2727
# Source the local secrets export file if available.
2828
if [ -f "$ROOT_DIR/secrets-export.sh" ]; then
29-
source "$ROOT_DIR/secrets-export.sh"
29+
. "$ROOT_DIR/secrets-export.sh"
3030
fi
3131

3232
echo "PATH2=$PATH"

.evergreen/scripts/setup-dev-env.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,15 @@ set -eu
55
HERE=$(dirname ${BASH_SOURCE:-$0})
66
pushd "$(dirname "$(dirname $HERE)")" > /dev/null
77

8-
echo "PATH=$PATH"
9-
108
# Source the env files to pick up common variables.
119
if [ -f $HERE/env.sh ]; then
12-
source $HERE/env.sh
10+
. $HERE/env.sh
1311
fi
1412
# PYTHON_BINARY may be defined in test-env.sh.
1513
if [ -f $HERE/test-env.sh ]; then
16-
source $HERE/test-env.sh
14+
. $HERE/test-env.sh
1715
fi
1816

19-
echo "PATH=$PATH"
20-
exit 1
21-
2217
# Ensure dependencies are installed.
2318
bash $HERE/install-dependencies.sh
2419

0 commit comments

Comments
 (0)