Skip to content

Commit 01af0ef

Browse files
committed
update verification script to be runnable from anywhere
1 parent f425ea6 commit 01af0ef

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

etc/bin/verify.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ cleanup() {
3838
}
3939
trap cleanup ERR
4040

41+
cd "${DOWNLOAD_LOCATION}"
4142
echo "Downloading KEYS file ..."
4243
curl -sSfLO "https://dist.apache.org/repos/dist/release/grails/KEYS"
4344
echo "✅ KEYS Downloaded"
@@ -70,8 +71,9 @@ echo "✅ RAT passed"
7071

7172
echo "Verifying Reproducible Build ..."
7273
set +e # because we have known issues here
73-
verify-reproducible.sh "${DOWNLOAD_LOCATION}"
74+
"${SCRIPT_DIR}/verify-reproducible.sh" "${DOWNLOAD_LOCATION}"
7475
set -e
7576
echo "✅ Reproducible Build Verified"
7677

77-
echo "✅✅✅ Verification finished, see above instructions for remaining manual testing."
78+
echo "✅✅✅ Verification finished, see above instructions for remaining manual testing."
79+
cd "${CWD}"

0 commit comments

Comments
 (0)