rsync include public/vendor

This commit is contained in:
xiaomlove
2022-09-08 19:50:37 +08:00
parent 7434fb5252
commit f76e656f77

View File

@@ -386,6 +386,7 @@ class Update extends Install
}
// $command = sprintf('cp -raf %s/. %s', $path, ROOT_PATH);
$command = "rsync -rvq $path/ " . ROOT_PATH;
$command .= " --include=public/vendor";
foreach ($excludes as $exclude) {
$command .= " --exclude=$exclude";
}