Skip to content

Commit

Permalink
Fix for gum 0.14.
Browse files Browse the repository at this point in the history
The tar.gz since contains a directory called gum_{version}_{platform}_{arch},
so we need to move the files into the expected path.
  • Loading branch information
iGEL committed Jun 11, 2024
1 parent 3e9c059 commit 3f65528
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 3f65528

Please sign in to comment.