From fdb04809a637919c2c146a4a512baa3b8cb5c9c7 Mon Sep 17 00:00:00 2001 From: Theo Bob Massard Date: Tue, 14 May 2024 11:11:01 +0200 Subject: [PATCH] tmp Signed-off-by: Theo Bob Massard --- bin/download | 2 ++ lib/utils.bash | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bin/download b/bin/download index c11ee53..c86832e 100755 --- a/bin/download +++ b/bin/download @@ -19,5 +19,7 @@ download_release "$ASDF_INSTALL_VERSION" "$release_file" # Extract contents of tar.gz file into the download directory tar -xzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" --strip-components=1 || fail "Could not extract $release_file" +ls "$ASDF_DOWNLOAD_PATH" + # Remove the tar.gz file since we don't need to keep it rm "$release_file" diff --git a/lib/utils.bash b/lib/utils.bash index 4a749fe..dc1aac7 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -1,6 +1,7 @@ #!/usr/bin/env bash set -euo pipefail +set -x # TODO: Ensure this is the correct GitHub homepage where releases can be downloaded for e1s. GH_REPO="https://github.com/keidarcy/e1s" @@ -38,6 +39,7 @@ list_all_versions() { download_release() { local version filename url + echo "RUNNING DOWNLOAD" version="$1" filename="$2"