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