Skip to content

Commit

Permalink
fix: Do not copy dir but tool only
Browse files Browse the repository at this point in the history
  • Loading branch information
qbart committed Sep 15, 2023
1 parent 31469ad commit 1449553
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,12 @@ install_version() {
fi

(
local tool_cmd
tool_cmd="$(echo "$TOOL_TEST" | cut -d' ' -f1)"

mkdir -p "$install_path"
cp -r "$ASDF_DOWNLOAD_PATH"/* "$install_path"
# cp -r "$ASDF_DOWNLOAD_PATH"/* "$install_path"
cp "$ASDF_DOWNLOAD_PATH"/$tool_cmd "$install_path"

# TODO: Assert cli executable exists.
local tool_cmd
Expand Down

0 comments on commit 1449553

Please sign in to comment.