From 89ec3cde42c7b1bb44e6a7b39f73dbec5e892d04 Mon Sep 17 00:00:00 2001 From: Peter Saveliev Date: Thu, 2 Jun 2011 09:28:23 -0400 Subject: INSTALL: add -r flag R=rsc CC=plan9port.codebot http://codereview.appspot.com/4526096 --- lib/moveplan9.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh index b294839f..b2280195 100644 --- a/lib/moveplan9.sh +++ b/lib/moveplan9.sh @@ -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 -- cgit v1.2.3