diff options
-rwxr-xr-x | src/chroot-tools/librechroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index d22e2c1..91afe3e 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -262,7 +262,7 @@ main() { trap "rm -f '$copydir'/clean '$copydir'/chrootexec" EXIT cp -a "$(which chcleanup)" "$copydir/clean" echo '#!/bin/bash' > "$copydir/chrootexec" - echo 'mkdir /build' >> "$copydir/chrootexec" + echo 'mkdir -p /build' >> "$copydir/chrootexec" echo 'cd /build; /clean' >> "$copydir/chrootexec" chmod 755 "$copydir/chrootexec" archroot -r "$copydir" /chrootexec |