diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-09 14:28:25 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-09 14:28:25 -0400 |
commit | ec0ce88c6a0c038346b51865ade855b86ac9a58e (patch) | |
tree | 06e6a8db70a376541e4217fa78e037f7584db478 /unix/hlib/setup.sh | |
parent | 0d2847460f84452c4a7676a9ebe638be81b3324f (diff) | |
download | iraf-linux-ec0ce88c6a0c038346b51865ade855b86ac9a58e.tar.gz |
Fix erroneous shell script calls. Fix fakehome call
Diffstat (limited to 'unix/hlib/setup.sh')
-rwxr-xr-x | unix/hlib/setup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/hlib/setup.sh b/unix/hlib/setup.sh index fc96eeb6..882bf828 100755 --- a/unix/hlib/setup.sh +++ b/unix/hlib/setup.sh @@ -1,17 +1,17 @@ #!/bin/bash # Allow a previously defined $iraf to be used. -if [ -n $iraf ]; then +if [ -z "$iraf" ]; then export iraf=/iraf/iraf/ fi # Allow a previously defined $IRAFARCH to be used. -if [ -n $IRAFARCH ]; then +if [ -z "$IRAFARCH" ]; then export IRAFARCH=`$iraf/unix/hlib/irafarch.sh -actual` fi source $iraf/unix/hlib/irafuser.sh -export PATH=$HOME/.iraf/bin:${PATH} +export PATH=$iraf/fakehome/bin:$iraf/bin:${PATH} # The world'd most obvious alias .... alias iraf="xgterm -e cl &" |