aboutsummaryrefslogtreecommitdiff
path: root/lib/moveplan9.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/moveplan9.sh')
-rw-r--r--lib/moveplan9.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh
index 631d41cb..c34b7257 100644
--- a/lib/moveplan9.sh
+++ b/lib/moveplan9.sh
@@ -1,6 +1,12 @@
#!/bin/sh
p=`cleanname $PLAN9`
+if [ X"$p" = X"" ]
+then
+ echo cleanname failed 1>&2
+ exit 1
+fi
+
cd $PLAN9
echo "
X ,s;/usr/local/plan9($|/|});$p\\1;g