From 9275a29c86c701e3d223822f0cdaee6ce84a1ccd Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Wed, 5 Jul 2023 14:32:17 +0300 Subject: [PATCH] final v3 --- tools/env.sh | 6 +++++- tools/link_env.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- <