diff options
Diffstat (limited to 'unix/hlib/irafuser.sh')
-rwxr-xr-x | unix/hlib/irafuser.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/unix/hlib/irafuser.sh b/unix/hlib/irafuser.sh index d71828d8..815b1ee9 100755 --- a/unix/hlib/irafuser.sh +++ b/unix/hlib/irafuser.sh @@ -126,11 +126,12 @@ esac # Prepend a user <iraf.h> file to the compile flags in case we don't # install as root. # -export HSI_CF="-I${HOME}/.iraf/ $HSI_CF" -export HSI_FF="-I${HOME}/.iraf/ $HSI_FF" -export HSI_LF="-I${HOME}/.iraf/ $HSI_LF" -export HSI_XF="-I${HOME}/.iraf/ $HSI_XF" - +FAKEHOME=$iraf/fakehome +export HSI_CF="-I${FAKEHOME}/.iraf/ $HSI_CF" +export HSI_FF="-I${FAKEHOME}/.iraf/ $HSI_FF" +export HSI_LF="-I${FAKEHOME}/.iraf/ $HSI_LF" +export HSI_XF="-I${FAKEHOME}/.iraf/ $HSI_XF" +unset FAKEHOME # The following determines whether or not the VOS is used for filename mapping. if [ -f ${iraf}lib/libsys.a ]; then |