From 6fe076243431a87c332493652141fe8f53c622c6 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 23 Aug 2022 12:56:01 -0600 Subject: [PATCH] remove parenthesis in latestver --- functions/self_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/self_update.sh b/functions/self_update.sh index 0e32e23a..8da4cc08 100644 --- a/functions/self_update.sh +++ b/functions/self_update.sh @@ -9,7 +9,7 @@ echo "🅂 🄴 🄻 🄵" echo "🅄 🄿 🄳 🄰 🅃 🄴" if [[ "$hs_version" != "$latest_ver" ]] ; then echo "Found a new version of HeavyScript, updating myself..." - git checkout "($latest_ver)" + git checkout "$latest_ver" count=0 for i in "${args[@]}" do