Skip to content

Commit

Permalink
Merge pull request #4 from iGEL/fix-0.14
Browse files Browse the repository at this point in the history
Fix for gum 0.14.
  • Loading branch information
lwiechec authored Jun 12, 2024
2 parents 3e9c059 + e989e87 commit 9220d1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ install_version() {

rm "$release_file.$ext"

if ls ${install_path}/bin/gum_${version}* > /dev/null 2>&1; then
mv `ls -d ${install_path}/bin/gum_${version}*`/* ${install_path}/bin/
fi

local tool_cmd
tool_cmd="gum"
test -x "$install_path/bin/$tool_cmd" || fail "Expected $install_path/bin/$tool_cmd to be executable."
Expand Down

0 comments on commit 9220d1f

Please sign in to comment.