Browse Source

small fixes @ rsync and targz tasks

1.0
Alex V Kotelnikov 10 years ago
parent
commit
95f09dc3c9
  1. 2
      Mage/Task/BuiltIn/Deployment/Strategy/RsyncTask.php
  2. 2
      Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php

2
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');

2
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');

Loading…
Cancel
Save