tdont blindly remove all the /usr/local/plan9 - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8824e122a3e9a4ec6ecd5d241bc7d74581300a29
DIR parent e00db7f084a8ae8276d0d0cba143ee966ba933b3
HTML Author: rsc <devnull@localhost>
Date: Fri, 22 Jul 2005 18:45:52 +0000
dont blindly remove all the /usr/local/plan9
Diffstat:
M lib/moveplan9.sh | 6 ++++++
1 file changed, 6 insertions(+), 0 deletions(-)
---
DIR diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh
t@@ -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