From 99aa133dc7886237d0f4e11c66c5f0285b53524b Mon Sep 17 00:00:00 2001 From: Owen Valentine Date: Tue, 22 Feb 2022 19:56:51 +0200 Subject: [PATCH] Folder structure change --- lib/utils.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.bash b/lib/utils.bash index 3ae7e1c..99f1b5f 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -58,7 +58,7 @@ install_version() { tool_cmd="$(echo "$TOOL_TEST" | cut -d' ' -f1)" mkdir -p "$install_path"/bin - cp "$ASDF_DOWNLOAD_PATH"/"$tool_cmd" "$install_path"/bin + cp "$ASDF_DOWNLOAD_PATH"/"${TOOL_NAME}_${version}_$(get_platform)_$(get_arch)"/"$tool_cmd" "$install_path"/bin test -x "$install_path/bin/$tool_cmd" || fail "Expected $install_path/bin/$tool_cmd to be executable."