|
|
@ -111,7 +111,7 @@ class RsyncTask extends BaseStrategyTaskAbstract implements IsReleaseAware |
|
|
|
{ |
|
|
|
{ |
|
|
|
$excludesRsync = ''; |
|
|
|
$excludesRsync = ''; |
|
|
|
foreach ($excludes as $exclude) { |
|
|
|
foreach ($excludes as $exclude) { |
|
|
|
$excludesRsync .= ' --exclude ' . $exclude . ' '; |
|
|
|
$excludesRsync .= ' --exclude=' . escapeshellarg($exclude) . ' '; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$excludesRsync = trim($excludesRsync); |
|
|
|
$excludesRsync = trim($excludesRsync); |
|
|
|