diff --git a/.evergreen/compile-unix.sh b/.evergreen/compile-unix.sh index 0a0a057a9..6d75a70bf 100755 --- a/.evergreen/compile-unix.sh +++ b/.evergreen/compile-unix.sh @@ -72,8 +72,11 @@ if [ -n "$LIBMONGOC_VERSION" ]; then echo "Finding Python3 binary... done." php scripts/update-submodule-sources.php + # We invoke python manually as it may not be in the path - $PYTHON src/libmongoc/build/calc_release_version.py > src/LIBMONGOC_VERSION_CURRENT + pushd src/libmongoc/ + $PYTHON build/calc_release_version.py > ../LIBMONGOC_VERSION_CURRENT + popd fi phpize