From ec0ce88c6a0c038346b51865ade855b86ac9a58e Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 9 Jul 2015 14:28:25 -0400 Subject: Fix erroneous shell script calls. Fix fakehome call --- unix/hlib/setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unix/hlib/setup.sh') 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 &" -- cgit