diff --git a/deploy.sh b/deploy.sh index 912f30a..c3eb6f7 100755 --- a/deploy.sh +++ b/deploy.sh @@ -610,9 +610,9 @@ status_working "Deploying application files" PID=$! # Simple animated progress while copying - local frame=0 + frame=0 while kill -0 $PID 2>/dev/null; do - printf "\r${MAGENTA}${SPINNER_FRAMES[$frame]}${RESET} Copying files..." + printf "\r${MAGENTA}%s${RESET} Copying files..." "${SPINNER_FRAMES[$frame]}" frame=$(((frame + 1) % ${#SPINNER_FRAMES[@]})) sleep 0.1 done