pullcheck.sh
                        
                             · 107 B · Bash
                        
                    
                    
                      
                        原始檔案
                      
                    
                      
                    
                        
                          
                        
                    
                    
                
                
                
            if [[ $(git fetch origin 2>&1) ]]; then
    echo "WARNING! pull the newest code before build"
    exit 1
fi
                | 1 | if [[ $(git fetch origin 2>&1) ]]; then | 
| 2 | echo "WARNING! pull the newest code before build" | 
| 3 | exit 1 | 
| 4 | fi |