mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
rsync include public/vendor
This commit is contained in:
@@ -386,6 +386,7 @@ class Update extends Install
|
|||||||
}
|
}
|
||||||
// $command = sprintf('cp -raf %s/. %s', $path, ROOT_PATH);
|
// $command = sprintf('cp -raf %s/. %s', $path, ROOT_PATH);
|
||||||
$command = "rsync -rvq $path/ " . ROOT_PATH;
|
$command = "rsync -rvq $path/ " . ROOT_PATH;
|
||||||
|
$command .= " --include=public/vendor";
|
||||||
foreach ($excludes as $exclude) {
|
foreach ($excludes as $exclude) {
|
||||||
$command .= " --exclude=$exclude";
|
$command .= " --exclude=$exclude";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user