lib/Tools/install
changeset 5367 33f81e980c93
parent 5362 29ce4f1fe72c
child 5398 81936a99a3b0
--- a/lib/Tools/install	Mon Aug 24 17:13:58 1998 +0200
+++ b/lib/Tools/install	Mon Aug 24 17:16:49 1998 +0200
@@ -35,7 +35,7 @@
 
 ## main
 
-[ ! -d "$DIR" ] && fail "Bad directory: $DIR"
+mkdir -p "$DIR" || fail "Bad directory: $DIR"
 
 BASH=$(type -path bash)
 [ -z "$BASH" ] && fail "Cannot find bash!"