aboutsummaryrefslogtreecommitdiff
path: root/examples/D10tmp
diff options
context:
space:
mode:
authordancer <dancer>2002-12-13 15:19:23 +0000
committerdancer <dancer>2002-12-13 15:19:23 +0000
commitb910f228f4f5b45ea4203342a5b6f5077bd4d019 (patch)
treef3630231cb11913b224ff7a529a7971c6d8d33ae /examples/D10tmp
parent691e978bfb9e1d8498b82acc319bb18f57c3d532 (diff)
downloadpbuilder-b910f228f4f5b45ea4203342a5b6f5077bd4d019.tar
pbuilder-b910f228f4f5b45ea4203342a5b6f5077bd4d019.tar.gz
0.53
Diffstat (limited to 'examples/D10tmp')
-rw-r--r--examples/D10tmp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/D10tmp b/examples/D10tmp
index b522a84..cd0594e 100644
--- a/examples/D10tmp
+++ b/examples/D10tmp
@@ -1,6 +1,6 @@
#!/bin/bash
#create $TMP and $TMPDIR
-[ -n "$TMP" -a ! -d "$TMP" ] && mkdir "$TMP"
-[ -n "$TMPDIR" -a ! -d "$TMPDIR" ] && mkdir "$TMPDIR"
+[ -n "$TMP" -a ! -d "$TMP" ] && mkdir "$TMP" || true
+[ -n "$TMPDIR" -a ! -d "$TMPDIR" ] && mkdir "$TMPDIR" || true