diff options
author | Peter Saveliev <svinota.saveliev@gmail.com> | 2011-06-02 09:28:23 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-06-02 09:28:23 -0400 |
commit | 89ec3cde42c7b1bb44e6a7b39f73dbec5e892d04 (patch) | |
tree | e21e1db27c87aa6c3951cfef75f3455fab75686a /lib | |
parent | 363062eab4dfbd7d484862fe35b73962caa635ef (diff) | |
download | plan9port-89ec3cde42c7b1bb44e6a7b39f73dbec5e892d04.tar.gz plan9port-89ec3cde42c7b1bb44e6a7b39f73dbec5e892d04.tar.bz2 plan9port-89ec3cde42c7b1bb44e6a7b39f73dbec5e892d04.zip |
INSTALL: add -r flag
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4526096
Diffstat (limited to 'lib')
-rw-r--r-- | lib/moveplan9.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |