Browse Source

Fix key name to follow naming convention

1.0
Alexander Miehe 10 years ago
parent
commit
55a5c0c640
  1. 4
      Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php

4
Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php

@ -77,8 +77,8 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
$strategyFlags = ''; $strategyFlags = '';
} }
// remove h option only if dump_symlinks is allowed in the release config part // remove h option only if dump-symlinks is allowed in the release config part
$dumpSymlinks = $this->getConfig()->release('dump_symlinks') ? '' : 'h'; $dumpSymlinks = $this->getConfig()->release('dump-symlinks') ? '' : 'h';
$command = 'tar cfz'. $dumpSymlinks . $strategyFlags . ' ' . $localTarGz . '.tar.gz ' . $excludeCmd . $excludeFromFileCmd . ' -C ' . $this->getConfig()->deployment('from') . ' .'; $command = 'tar cfz'. $dumpSymlinks . $strategyFlags . ' ' . $localTarGz . '.tar.gz ' . $excludeCmd . $excludeFromFileCmd . ' -C ' . $this->getConfig()->deployment('from') . ' .';
$result = $this->runCommandLocal($command); $result = $this->runCommandLocal($command);

Loading…
Cancel
Save