Skip to content

Commit

Permalink
Merge pull request #5 from mystix/patch-1
Browse files Browse the repository at this point in the history
Update download path for hurl 4.30
  • Loading branch information
raimon49 authored Apr 30, 2024
2 parents a605f63 + b8f0a15 commit 473e2e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ install_version() {

(
mkdir -p "$install_path"
cp -r "$ASDF_DOWNLOAD_PATH"/* "$install_path"
if ! $(echo -e "$version\n4.2.0" | sort -VC); then
# see https://github.com/Orange-OpenSource/hurl/issues/2401
cp -r "$ASDF_DOWNLOAD_PATH"/bin/* "$install_path"
else
cp -r "$ASDF_DOWNLOAD_PATH"/* "$install_path"
fi

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

0 comments on commit 473e2e9

Please sign in to comment.