Skip to content

Commit

Permalink
fix download path
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Nov 27, 2024
1 parent cf1bec0 commit 246be6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ install_version() {
tool_cmd="$(echo "$TOOL_TEST" | cut -d' ' -f1)"

mkdir -p "$install_path"
cp -r "$ASDF_DOWNLOAD_PATH"/p2cli_r${version}_${platform}-${arch} "$install_path/$tool_cmd"
cp -r "$ASDF_DOWNLOAD_PATH"/p2cli_r${version}_${platform}-${arch}/$tool_cmd "$install_path/$tool_cmd"

chmod +x "$install_path/$tool_cmd"
test -x "$install_path/$tool_cmd" || fail "Expected $install_path/$tool_cmd to be executable."
Expand Down

0 comments on commit 246be6c

Please sign in to comment.