summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-10-21 09:41:40 +0000
committerColin Watson <cjwatson@debian.org>2007-10-21 09:41:40 +0000
commit5eee9af87a17cf2a75fe8ebf93e41a12daba7715 (patch)
treed2aba32087b385d709a20ed19dfb6f21f68bf0f2 /functions
parent8d0cc497123b9b5969935573bd70c8d30a125f0c (diff)
downloaddebootstrap-5eee9af87a17cf2a75fe8ebf93e41a12daba7715.tar.gz
* Ensure that the target directory exists in check_sane_mount.
r49844
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions b/functions
index 4fbe29f..637aa5a 100644
--- a/functions
+++ b/functions
@@ -993,6 +993,8 @@ resolve_deps () {
# this directory. (Both may be forbidden by mount options, e.g. nodev and
# noexec respectively.)
check_sane_mount () {
+ mkdir -p "$1"
+
case "$ARCH" in
kfreebsd-*|hurd-*)
;;