Commit 6230297b authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add -t param in rsync

parent 9c7d26b1
......@@ -2220,7 +2220,7 @@ class project extends base {
$sTarget = $aTarget['target'] . "/$sPhase";
switch ($aTarget['type']) {
case 'rsync':
$sCmd = "ls -l $sSource 2>/dev/null && /usr/bin/rsync --delete -rLv $sSource $sTarget";
$sCmd = "ls -l $sSource 2>/dev/null && /usr/bin/rsync --delete -rLvt $sSource $sTarget";
break;
default:
$sReturn.=sprintf(t("class-project-info-deploy-skip-sync"), $aTarget['type']) . "<br>";
......
......@@ -25,7 +25,7 @@
$sTarget=$aTarget['target']."/$sPhase";
switch ($aTarget['type']) {
case 'rsync':
$sCmd="ls -l $sSource 2>/dev/null && /usr/bin/rsync --delete -rLv $sSource $sTarget";
$sCmd="ls -l $sSource 2>/dev/null && /usr/bin/rsync --delete -rLvt $sSource $sTarget";
break;
default:
echo "ERROR: type ".$aTarget['type']." ist not supported (yet) - skipping.";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment