mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Meta: Don't overwrite newer files when building the root filesystem
This commit is contained in:
parent
5bbd5e7322
commit
6677cd6d70
Notes:
sideshowbarker
2024-07-17 09:38:13 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/6677cd6d70 Pull-request: https://github.com/SerenityOS/serenity/pull/14502 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 4 additions and 4 deletions
|
@ -33,11 +33,11 @@ if ! command -v rsync >/dev/null; then
|
|||
fi
|
||||
|
||||
if rsync --chown 2>&1 | grep "missing argument" >/dev/null; then
|
||||
rsync -aH --chown=0:0 --inplace "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||
rsync -aH --chown=0:0 --inplace Root/ mnt/
|
||||
rsync -aH --chown=0:0 --inplace --update "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||
rsync -aH --chown=0:0 --inplace --update Root/ mnt/
|
||||
else
|
||||
rsync -aH --inplace "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||
rsync -aH --inplace Root/ mnt/
|
||||
rsync -aH --inplace --update "$SERENITY_SOURCE_DIR"/Base/ mnt/
|
||||
rsync -aH --inplace --update Root/ mnt/
|
||||
chown -R 0:0 mnt/
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue