Skip to content

Commit

Permalink
output path
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 a2aec25 commit 05df58b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ download_release() {
install_version() {
local install_type="$1"
local version="$2"
local install_path="${3%/bin}/bin"
local install_path="${3%/bin}"

if [ "$install_type" != "version" ]; then
fail "asdf-$TOOL_NAME supports release installs only"
fi

(
echo "$ASDF_DOWNLOAD_PATH"
echo "$install_path"
mkdir -p "$install_path"
cp -r "$ASDF_DOWNLOAD_PATH"/* "$install_path"

Expand Down

0 comments on commit 05df58b

Please sign in to comment.