From 301bc51b0e22ed46abd551d4e23c379c1cd7d005 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 22 Jun 2013 21:12:46 -0600 Subject: librechroot: fix mkdir spitting to stderr in clean-pkgs. --- src/chroot-tools/librechroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chroot-tools/librechroot') 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 -- cgit v1.2.2