From 0d2847460f84452c4a7676a9ebe638be81b3324f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 22:48:30 -0400 Subject: fakehome galore --- unix/hlib/irafuser.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'unix/hlib/irafuser.sh') 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 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 -- cgit