From 398a67eca12afae8970ecf30075e47a568218e38 Mon Sep 17 00:00:00 2001 From: Nic Manoogian Date: Fri, 7 Jun 2024 16:28:48 -0400 Subject: [PATCH] WIP: Add CI debugging --- scripts/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index c35a2c85..7847c13d 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -150,6 +150,9 @@ curl_download() { exit_code=$? set -e + echo "[DEBUG] Download headers:" + echo "$headers" + status_code="$(echo "$headers" | tail -1)" if [ "$status_code" -ne 200 ]; then @@ -212,6 +215,7 @@ wget_download() { if expr "$status_code" : '[0-9][0-9][0-9]$'>/dev/null; then valid_status_code=1 fi + echo "$headers" if [ "$exit_code" -ne 0 ]; then if [ "$valid_status_code" -eq 1 ]; then