mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-03 06:23:15 +02:00
Merge pull request #186 from d-ulyanov/develop
Ignoring errors while deleting temp files
This commit is contained in:
commit
19c687b800
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -9,4 +9,7 @@ bin
|
|||
ehthumbs.db
|
||||
Icon?
|
||||
Thumbs.db
|
||||
nbproject
|
||||
|
||||
# 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 a new issue