summaryrefslogtreecommitdiff
path: root/distrib/miniroot/maketz.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/miniroot/maketz.sh')
-rw-r--r--distrib/miniroot/maketz.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/miniroot/maketz.sh b/distrib/miniroot/maketz.sh
index d0b3c709129..6b6790b840d 100644
--- a/distrib/miniroot/maketz.sh
+++ b/distrib/miniroot/maketz.sh
@@ -1,10 +1,10 @@
#!/bin/sh
-destdir=$1
-
if [ $# -lt 1 ]; then
- echo usage: maketz.sh DESTDIR
- exit 0
+ destdir=/
+ echo 'warning: using DESTDIR=/'
+else
+ destdir=$1
fi
(