mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Ignoring errors while deleting temp files
This commit is contained in:
		
							parent
							
								
									1cf7c56c39
								
							
						
					
					
						commit
						cc615dda81
					
				
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -7,4 +7,7 @@ mage.phar
 | 
			
		||||
ehthumbs.db
 | 
			
		||||
Icon?
 | 
			
		||||
Thumbs.db
 | 
			
		||||
 | 
			
		||||
# IDE generated files
 | 
			
		||||
.idea
 | 
			
		||||
nbproject
 | 
			
		||||
@ -109,11 +109,11 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
 | 
			
		||||
        $result = $this->runCommandRemote($command) && $result;
 | 
			
		||||
 | 
			
		||||
        // Delete Tar Gz from Remote Host
 | 
			
		||||
        $command = $this->getReleasesAwareCommand('rm ' . $remoteTarGz . '.tar.gz');
 | 
			
		||||
        $command = $this->getReleasesAwareCommand('rm -f ' . $remoteTarGz . '.tar.gz');
 | 
			
		||||
        $result = $this->runCommandRemote($command) && $result;
 | 
			
		||||
 | 
			
		||||
        // Delete Tar Gz from Local
 | 
			
		||||
        $command = 'rm ' . $localTarGz . ' ' . $localTarGz . '.tar.gz';
 | 
			
		||||
        $command = 'rm -f ' . $localTarGz . ' ' . $localTarGz . '.tar.gz';
 | 
			
		||||
        $result = $this->runCommandLocal($command) && $result;
 | 
			
		||||
 | 
			
		||||
        return $result;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user