avoid renaming /usr/local/plan9-foo
diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh
index 96a356f..7e0a936 100644
--- a/lib/moveplan9.sh
+++ b/lib/moveplan9.sh
@@ -3,7 +3,7 @@
 p=`cleanname $PLAN9`
 cd $PLAN9
 echo "
-	X ,s;/usr/local/plan9;$p;g
+	X ,s;/usr/local/plan9($|/|});$p\\1;g
 	X/'/w
 	q
 " | sam -d `cat lib/moveplan9.files` man/man*/*.* >/dev/null 2>&1