summaryrefslogtreecommitdiff
path: root/src/chroot-tools/librechroot
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-22 21:12:46 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-23 00:06:44 -0600
commit301bc51b0e22ed46abd551d4e23c379c1cd7d005 (patch)
treeab0c55206be6c72c19c591507cbfe7f314c6b857 /src/chroot-tools/librechroot
parentf7df12564a5aa5b7d144386355ede8b44b429601 (diff)
librechroot: fix mkdir spitting to stderr in clean-pkgs.
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-xsrc/chroot-tools/librechroot2
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