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

bugfix, deployment targz
This commit is contained in:
Andrés Montañez 2014-07-30 21:28:35 -03:00
commit 78379e866f

View file

@ -66,7 +66,7 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
$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);
// Copy Tar Gz to Remote Host