diff options
author | rsc <devnull@localhost> | 2005-07-22 18:45:52 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-22 18:45:52 +0000 |
commit | 8824e122a3e9a4ec6ecd5d241bc7d74581300a29 (patch) | |
tree | e76bad50a202aade3f1c877b7c545964e5ca2bca /lib | |
parent | e00db7f084a8ae8276d0d0cba143ee966ba933b3 (diff) | |
download | plan9port-8824e122a3e9a4ec6ecd5d241bc7d74581300a29.tar.gz plan9port-8824e122a3e9a4ec6ecd5d241bc7d74581300a29.tar.bz2 plan9port-8824e122a3e9a4ec6ecd5d241bc7d74581300a29.zip |
dont blindly remove all the /usr/local/plan9
Diffstat (limited to 'lib')
-rw-r--r-- | lib/moveplan9.sh | 6 |
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 |