From 95f09dc3c9987a8b54532192ace68370b555d315 Mon Sep 17 00:00:00 2001 From: Alex V Kotelnikov Date: Thu, 30 Oct 2014 12:31:05 +0400 Subject: [PATCH] small fixes @ rsync and targz tasks --- Mage/Task/BuiltIn/Deployment/Strategy/RsyncTask.php | 2 +- Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/Task/BuiltIn/Deployment/Strategy/RsyncTask.php b/Mage/Task/BuiltIn/Deployment/Strategy/RsyncTask.php index f01d243..b8b1dc6 100644 --- a/Mage/Task/BuiltIn/Deployment/Strategy/RsyncTask.php +++ b/Mage/Task/BuiltIn/Deployment/Strategy/RsyncTask.php @@ -52,7 +52,7 @@ class RsyncTask extends BaseStrategyTaskAbstract implements IsReleaseAware $this->checkOverrideRelease(); $excludes = $this->getExcludes(); - $excludesListFilePath = $this->getExcludesListFile(); + $excludesListFilePath = $this->getConfig()->deployment('file_containing_excludes', ''); // If we are working with releases $deployToDirectory = $this->getConfig()->deployment('to'); diff --git a/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php b/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php index f5c0031..7b9dcfe 100644 --- a/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php +++ b/Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php @@ -46,7 +46,7 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware $this->checkOverrideRelease(); $excludes = $this->getExcludes(); - $excludesListFilePath = $this->getExcludesListFile(); + $excludesListFilePath = $this->getConfig()->deployment('file_containing_excludes', '');; // If we are working with releases $deployToDirectory = $this->getConfig()->deployment('to');