From f2e01280a54602b947db53b416233a2e85c0eb42 Mon Sep 17 00:00:00 2001 From: woutersioen Date: Wed, 16 Jul 2014 16:32:29 +0200 Subject: [PATCH] Fix excludes for releases --- .../Deployment/Strategy/BaseStrategyTaskAbstract.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Mage/Task/BuiltIn/Deployment/Strategy/BaseStrategyTaskAbstract.php b/Mage/Task/BuiltIn/Deployment/Strategy/BaseStrategyTaskAbstract.php index 9b65e64..746eb5a 100644 --- a/Mage/Task/BuiltIn/Deployment/Strategy/BaseStrategyTaskAbstract.php +++ b/Mage/Task/BuiltIn/Deployment/Strategy/BaseStrategyTaskAbstract.php @@ -48,12 +48,12 @@ abstract class BaseStrategyTaskAbstract extends AbstractTask implements IsReleas protected function getExcludes() { $excludes = array( - '.git', - '.svn', + getcwd() . '/.git', + getcwd() . '/.svn', getcwd() . '/.mage', - '.gitignore', - '.gitkeep', - 'nohup.out' + getcwd() . '/.gitignore', + getcwd() . '/.gitkeep', + getcwd() . '/nohup.out' ); // Look for User Excludes