fix latestver

This commit is contained in:
Heavybullets8 2022-08-23 12:42:02 -06:00
parent 9e0e40c122
commit 1595d1963f

View File

@ -9,8 +9,7 @@ echo "🅂 🄴 🄻 🄵"
echo "🅄 🄿 🄳 🄰 🅃 🄴"
if [[ "$hs_version" != "$latest_ver" ]] ; then
echo "Found a new version of HeavyScript, updating myself..."
git reset --hard -q
git checkout "$(latest_ver)"
git checkout "($latest_ver)"
count=0
for i in "${args[@]}"
do