script
This commit is contained in:
		
							parent
							
								
									56f3840fd7
								
							
						
					
					
						commit
						824d98b3f4
					
				@ -610,9 +610,9 @@ status_working "Deploying application files"
 | 
				
			|||||||
    PID=$!
 | 
					    PID=$!
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    # Simple animated progress while copying
 | 
					    # Simple animated progress while copying
 | 
				
			||||||
    local frame=0
 | 
					    frame=0
 | 
				
			||||||
    while kill -0 $PID 2>/dev/null; do
 | 
					    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[@]}))
 | 
					        frame=$(((frame + 1) % ${#SPINNER_FRAMES[@]}))
 | 
				
			||||||
        sleep 0.1
 | 
					        sleep 0.1
 | 
				
			||||||
    done
 | 
					    done
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user