From 7350dd9b874d7623877dbc5e4afd9eed72736e0f Mon Sep 17 00:00:00 2001 From: Simon Hemi Date: Thu, 7 Mar 2024 23:23:00 +1100 Subject: [PATCH] Test path output --- bin/download | 3 --- lib/utils.bash | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/download b/bin/download index cd17b97..831d2de 100755 --- a/bin/download +++ b/bin/download @@ -18,11 +18,8 @@ release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.${ext}" # Download tar.gz file to the download directory download_release "$ASDF_INSTALL_VERSION" "$release_file" -ls -al - # Extract contents of tar.gz file into the download directory tar -xvzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file" -ls -l $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 9c83de9..820a95b 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -101,10 +101,8 @@ install_version() { fi ( - echo "$ASDF_DOWNLOAD_PATH" - ls -al $ASDF_DOWNLOAD_PATH - echo "$install_path" mkdir -p "$install_path" + ls -al $ASDF_DOWNLOAD_PATH cp -r "$ASDF_DOWNLOAD_PATH"/* "$install_path" # Assert ruff executable exists.