aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/D10tmp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/D10tmp b/examples/D10tmp
index cd0594e..e31faa7 100644
--- a/examples/D10tmp
+++ b/examples/D10tmp
@@ -1,6 +1,6 @@
#!/bin/bash
#create $TMP and $TMPDIR
-[ -n "$TMP" -a ! -d "$TMP" ] && mkdir "$TMP" || true
-[ -n "$TMPDIR" -a ! -d "$TMPDIR" ] && mkdir "$TMPDIR" || true
+[ -n "$TMP" -a ! -d "$TMP" ] && mkdir -p "$TMP" || true
+[ -n "$TMPDIR" -a ! -d "$TMPDIR" ] && mkdir -p "$TMPDIR" || true