mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-08 14:28:57 +02:00
Adds from paramter for rsync and tar tasks
This commit is contained in:
@@ -42,7 +42,8 @@ class PrepareTask extends AbstractTask
|
||||
|
||||
$excludes = $this->getExcludes();
|
||||
$flags = $this->runtime->getEnvOption('tar_create', 'cfzp');
|
||||
$cmdTar = sprintf('tar %s %s %s ./', $flags, $tarLocal, $excludes);
|
||||
$from = $this->runtime->getEnvOption('from', './');
|
||||
$cmdTar = sprintf('tar %s %s %s %s', $flags, $tarLocal, $excludes, $from);
|
||||
|
||||
/** @var Process $process */
|
||||
$process = $this->runtime->runLocalCommand($cmdTar, 300);
|
||||
|
||||
Reference in New Issue
Block a user