diff options
| -rwxr-xr-x | INSTALL | 5 | ||||
| -rw-r--r-- | lib/moveplan9.sh | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -16,7 +16,7 @@ x-c) ;; x-r) shift - PLAN9_TARGET=$1 export PLAN9_TARGET + PLAN9_TARGET=$1 ;; *) echo 'usage: INSTALL [-b | -c] [-r path]' 1>&2 @@ -32,6 +32,9 @@ rm -f config PLAN9=`pwd` export PLAN9 PATH=/bin:/usr/bin:$PLAN9/bin:$PATH export PATH +[ -z "$PLAN9_TARGET" ] && PLAN9_TARGET="$PLAN9" +export PLAN9_TARGET + case `uname` in SunOS) awk=nawk diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh index b2280195..958b7135 100644 --- a/lib/moveplan9.sh +++ b/lib/moveplan9.sh @@ -12,7 +12,6 @@ case $# in exit 1 esac -[ -z "$PLAN9_TARGET" ] && PLAN9_TARGET="$PLAN9" new=`cleanname $PLAN9_TARGET` if [ X"$new" = X"" ] |
