diff --git a/automated install/uninstall.sh b/automated install/uninstall.sh index 98da8e28..abba88a5 100755 --- a/automated install/uninstall.sh +++ b/automated install/uninstall.sh @@ -65,7 +65,7 @@ spinner() { while [ "$(ps a | awk '{print $1}' | grep "${pid}")" ]; do local temp=${spinstr#?} printf " [%c] " "${spinstr}" - local spinstr=${temp}${spinstr%"${temp}"} + local spinstr=${temp}${spinstr%"$temp}"} sleep ${delay} printf "\b\b\b\b\b\b" done