diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 22:48:30 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 22:48:30 -0400 |
commit | 0d2847460f84452c4a7676a9ebe638be81b3324f (patch) | |
tree | c3fddcf8af0345c4b006c0f92bacc98360fa5eee /unix/hlib/irafuser.sh | |
parent | 1c5da1d8c1f89dd2b6a615b3fc448bde0ca90ed2 (diff) | |
download | iraf-linux-0d2847460f84452c4a7676a9ebe638be81b3324f.tar.gz |
fakehome galore
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 |