dont blindly remove all the /usr/local/plan9

This commit is contained in:
rsc 2005-07-22 18:45:52 +00:00
parent e00db7f084
commit 8824e122a3

View file

@ -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