From b05d15e4e2771b31881fe8f0cf4c1deb8a2f4b58 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Fri, 13 May 2022 16:39:10 +0300 Subject: Fixed big bad bug. --- init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.sh b/init.sh index fce90af..51791d6 100755 --- a/init.sh +++ b/init.sh @@ -5,9 +5,7 @@ echo | date echo "Init running" echo "Removing old packages..." -rm -rf "${PATH_TO_LYLLRUOKA%%FoodJS}" - -cd "${PATH_TO_LYLLRUOKA%%FoodJS}" +rm -rf $PATH_TO_LYLLRUOKA echo "Waiting for connection..." while [ ! "$(ping 'www.github.com' -c 1)" ] @@ -15,6 +13,8 @@ do sleep 5 done +cd "${PATH_TO_LYLLRUOKA%%FoodJS}" + echo "Cloning new packages..." git clone "https://github.com/JoelHMikael/FoodJS.git" -- cgit v1.2.3