From 9a90b6d96bc0e7e0136c22db0c59df759246c3b6 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Wed, 30 Jun 2021 12:12:00 -0400 Subject: [PATCH] testing --- Scripts/download_framework.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/download_framework.sh b/Scripts/download_framework.sh index e4f97a2b..45a4b416 100755 --- a/Scripts/download_framework.sh +++ b/Scripts/download_framework.sh @@ -48,6 +48,7 @@ fi echo -e "Getting checksums..." echo -e "URL: ${URL}/api/storage/${REMOTEPATH}" JSON=$(curl --header "X-JFrog-Art-Api: ${APITOKEN}" -X GET "${URL}/api/storage/${REMOTEPATH}") +echo "$JSON" CHECKSUM=$(echo "$JSON" | python -c 'import sys, json; print json.load(sys.stdin)["checksums"]["sha1"]') if [[ -z "$CHECKSUM" ]]; then exit_with_error "No Checksum found in json: ${JSON}"