diff options
| author | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-10-31 00:06:02 +0100 |
|---|---|---|
| committer | Dan Cross <crossd@gmail.com> | 2022-07-27 10:15:51 -0400 |
| commit | f7b572818c7617065ef0877870caee060db90a30 (patch) | |
| tree | f309c02c824c07813417a8a41cee2f3ea217cf7a /INSTALL | |
| parent | 005ee081d50b14a9a12a5b93f4a8760d7700e032 (diff) | |
INSTALL: Always set PLAN9_TARGET environment variable
That is, not only when -r was given. This allows using this veriable in
mkfiles across the code base.
Diffstat (limited to 'INSTALL')
| -rwxr-xr-x | INSTALL | 5 |
1 files changed, 4 insertions, 1 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 |