summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-09 13:35:41 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-09 13:35:41 +0000
commit9280dc8834e3976931e4e2f8840fecd2c8834a0d (patch)
tree2605e6171d0fed6baf5f0acd598014509378da5a /run-bootstrap-in-chroot
parente006c9c7c7653aafafd65b19f87e1a5f6db5209f (diff)
downloadmorph-9280dc8834e3976931e4e2f8840fecd2c8834a0d.tar.gz
Make sure to create parent directories of the chroot ccache dir.
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index 811b46bf..3110e24a 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -144,7 +144,7 @@ if [ "x$CCACHE_HOST_DIR" = "x" ]; then
echo "CCACHE_HOST_DIR is unspecified, but that's ok" >&2
else
# create the directory for cached ccache object files
- mkdir "$1/var/tmp/ccache"
+ mkdir -p "$1/var/tmp/ccache"
fi
if [ "x$LFS_MIRROR" = x ]; then