INSTALL: add -r flag

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4526096
This commit is contained in:
Peter Saveliev 2011-06-02 09:28:23 -04:00 committed by Russ Cox
parent 363062eab4
commit 89ec3cde42
4 changed files with 19 additions and 2 deletions

View file

@ -12,7 +12,9 @@ case $# in
exit 1
esac
new=`cleanname $PLAN9`
[ -z "$PLAN9_TARGET" ] && PLAN9_TARGET="$PLAN9"
new=`cleanname $PLAN9_TARGET`
if [ X"$new" = X"" ]
then
echo cleanname failed 1>&2