summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordzwdz2024-05-18 22:09:49 +0200
committerdzwdz2024-05-18 22:09:49 +0200
commit8fdf6a24736fd676cbd28de11b21a31b2fd6664e (patch)
tree18247fb95f65944d9855bf9387e724beb0f32d34 /configure
parent04b176caef6e3f4bc626b1174d096c70afc16dd0 (diff)
configure: pass the -r flag to cp
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 68486a3..a00deff 100755
--- a/configure
+++ b/configure
@@ -113,7 +113,7 @@ raw("USERBINS = " + " ".join(userbins))
# don't build the example implementation from libext2
t('out/obj/cmd/ext2fs/ext2/example.c.o', '', ['touch $@'])
-t('out/initrd/%', 'sysroot/%', ['cp $< $@'])
+t('out/initrd/%', 'sysroot/%', ['cp -r $< $@'])
t('out/initrd.tar',
'$(patsubst sysroot/%,out/initrd/%,$(shell find sysroot/ -type f)) '