diff options
author | Haibo Huang <hhb@google.com> | 2021-02-04 16:41:26 -0800 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2021-02-04 16:41:26 -0800 |
commit | 40a931e3d4a7c650568675604446734181ae0fc1 (patch) | |
tree | 476f7ef3f3aef3ca1adcf37a8439108909e019de | |
parent | b4be0a27f8ba1df8945a374c24cf4e322f7f4cd5 (diff) | |
download | cpython3-40a931e3d4a7c650568675604446734181ae0fc1.tar.gz |
[kokoro python] Get script absolute path
Change-Id: I42a9ccb07b43b7dbf8453206ef3747ce4e62606e
-rwxr-xr-x | kokoro/kokoro_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kokoro/kokoro_build.sh b/kokoro/kokoro_build.sh index 6abadc9e09..38ff116bb3 100755 --- a/kokoro/kokoro_build.sh +++ b/kokoro/kokoro_build.sh @@ -7,7 +7,7 @@ DEST="${KOKORO_ARTIFACTS_DIR}/dest" OUT="${KOKORO_ARTIFACTS_DIR}/out" PYTHON_SRC=${KOKORO_ARTIFACTS_DIR}/git/cpython3 -BASEDIR=$(dirname "$0") +BASEDIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" if [ "$(uname)" == "Darwin" ]; then # http://g3doc/devtools/kokoro/g3doc/userdocs/macos/selecting_xcode sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer |