Browse Source

Merge pull request #96 from elnebuloso/bugfix-tar-deployment

bugfix, deployment targz
1.0
Andrés Montañez 10 years ago
parent
commit
78379e866f
  1. 2
      Mage/Task/BuiltIn/Deployment/Strategy/TarGzTask.php

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

@ -66,7 +66,7 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
$excludeCmd .= ' --exclude=' . $excludeFile; $excludeCmd .= ' --exclude=' . $excludeFile;
} }
$command = 'tar cfz ' . $localTarGz . '.tar.gz ' . $excludeCmd . ' ' . $this->getConfig()->deployment('from'); $command = 'tar cfz ' . $localTarGz . '.tar.gz ' . $excludeCmd . ' -C ' . $this->getConfig()->deployment('from') . ' .';
$result = $this->runCommandLocal($command); $result = $this->runCommandLocal($command);
// Copy Tar Gz to Remote Host // Copy Tar Gz to Remote Host

Loading…
Cancel
Save