mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Merge pull request #186 from d-ulyanov/develop
Ignoring errors while deleting temp files
This commit is contained in:
		
						commit
						19c687b800
					
				
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -9,4 +9,7 @@ bin
 | 
				
			|||||||
ehthumbs.db
 | 
					ehthumbs.db
 | 
				
			||||||
Icon?
 | 
					Icon?
 | 
				
			||||||
Thumbs.db
 | 
					Thumbs.db
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# IDE generated files
 | 
				
			||||||
 | 
					.idea
 | 
				
			||||||
nbproject
 | 
					nbproject
 | 
				
			||||||
@ -109,11 +109,11 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
 | 
				
			|||||||
        $result = $this->runCommandRemote($command) && $result;
 | 
					        $result = $this->runCommandRemote($command) && $result;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Delete Tar Gz from Remote Host
 | 
					        // 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;
 | 
					        $result = $this->runCommandRemote($command) && $result;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Delete Tar Gz from Local
 | 
					        // Delete Tar Gz from Local
 | 
				
			||||||
        $command = 'rm ' . $localTarGz . ' ' . $localTarGz . '.tar.gz';
 | 
					        $command = 'rm -f ' . $localTarGz . ' ' . $localTarGz . '.tar.gz';
 | 
				
			||||||
        $result = $this->runCommandLocal($command) && $result;
 | 
					        $result = $this->runCommandLocal($command) && $result;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return $result;
 | 
					        return $result;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user