diff --git a/.gitignore b/.gitignore index 88c7e14..b5538e7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,7 @@ bin ehthumbs.db Icon? Thumbs.db -nbproject \ No newline at end of file + +# IDE generated files +.idea +nbproject diff --git a/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php b/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php index ba16246..2345860 100644 --- a/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php +++ b/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php @@ -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;