devops: fix check_cdn.sh to be PWD-independent

This commit is contained in:
Andrey Lushnikov 2019-11-25 18:14:04 -08:00
parent ab6e358c4d
commit e3a8c2d033

View File

@ -15,6 +15,9 @@ if [[ $# == 0 ]]; then
exit 1
fi
trap "cd $(pwd -P)" EXIT
cd "$(dirname "$0")"
HOST="https://playwrightaccount.blob.core.windows.net/builds"
FFOX_REVISION=$(cat ../firefox/BUILD_NUMBER)
@ -50,9 +53,6 @@ GRN=$'\e[1;32m'
YEL=$'\e[1;33m'
END=$'\e[0m'
trap "cd $(pwd -P)" EXIT
cd "$(dirname "$0")"
REVISION=""
ARCHIVES=""
ALIASES=""