Skip to content

Commit

Permalink
Test path output
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Hemi authored and Simon Hemi committed Mar 7, 2024
1 parent e8f0936 commit 7350dd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 1 addition & 3 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7350dd9

Please sign in to comment.