summaryrefslogtreecommitdiff
path: root/sysroot.write
diff options
context:
space:
mode:
Diffstat (limited to 'sysroot.write')
-rwxr-xr-xsysroot.write6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysroot.write b/sysroot.write
index 0ad8d630..019edbe9 100755
--- a/sysroot.write
+++ b/sysroot.write
@@ -19,8 +19,4 @@ set -eu
mkdir -p "$2"
-# Move the contents of our source directory to our target
-# Previously we would (cd "$1" && find -print0 | cpio -0pumd "$absolute_path")
-# to do this, but the source directory is disposable anyway, so we can move
-# its contents to save time
-find "$1" -maxdepth 1 -mindepth 1 -exec mv {} "$2/." +
+cp -a "$1/*" "$2"