diff --git a/tools/env.sh b/tools/env.sh index 32fc948..192d808 100755 --- a/tools/env.sh +++ b/tools/env.sh @@ -17,12 +17,13 @@ Linux/x86_64) esac if command -v gum >/dev/null; then - TEA_GUM=gum + TEA_GUM=`which gum` else curl https://tea.xyz -o /tmp/tea TEA_GUM=$(sh /tmp/tea --silent +charm.sh/gum which gum | tail -n 1) fi +echo $TEA_GUM > /tmp/gum $TEA_GUM format -- <