mirror of https://github.com/sbt/sbt.git
rsync flags
Fixes https://github.com/sbt/sbt/issues/5035 Currently `sbt` calls `rsync -a`, which expands to `-rlptgoD`, including `--group` and `--owner` flag that preserves the group and owner of the files. This drops the requirement since we just need to copy files around with the right timestamp.
This commit is contained in:
parent
c0af7e91bb
commit
d35fe3aeaf
|
|
@ -297,7 +297,7 @@ syncPreloaded() {
|
|||
[[ -d "$source_preloaded" ]] && {
|
||||
command -v rsync >/dev/null 2>&1 && {
|
||||
mkdir -p "$target_preloaded"
|
||||
rsync -a --ignore-existing "$source_preloaded" "$target_preloaded" || true
|
||||
rsync --recursive --links --perms --times --ignore-existing "$source_preloaded" "$target_preloaded" || true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue