aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/irafuser.csh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 22:48:30 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 22:48:30 -0400
commit0d2847460f84452c4a7676a9ebe638be81b3324f (patch)
treec3fddcf8af0345c4b006c0f92bacc98360fa5eee /unix/hlib/irafuser.csh
parent1c5da1d8c1f89dd2b6a615b3fc448bde0ca90ed2 (diff)
downloadiraf-linux-0d2847460f84452c4a7676a9ebe638be81b3324f.tar.gz
fakehome galore
Diffstat (limited to 'unix/hlib/irafuser.csh')
-rwxr-xr-xunix/hlib/irafuser.csh13
1 files changed, 7 insertions, 6 deletions
diff --git a/unix/hlib/irafuser.csh b/unix/hlib/irafuser.csh
index 4ae5bb93..b150100d 100755
--- a/unix/hlib/irafuser.csh
+++ b/unix/hlib/irafuser.csh
@@ -62,7 +62,6 @@ else # old_method
endif # old_method
-
setenv hostid unix
setenv host ${iraf}unix/
setenv hlib ${iraf}unix/hlib/
@@ -181,11 +180,13 @@ endsw
# Prepend a user <iraf.h> file to the compile flags in case we don't
# install as root.
#
-setenv HSI_CF "-I${HOME}/.iraf/ $HSI_CF"
-setenv HSI_FF "-I${HOME}/.iraf/ $HSI_FF"
-setenv HSI_LF "-I${HOME}/.iraf/ $HSI_LF"
-setenv HSI_XF "-I${HOME}/.iraf/ $HSI_XF"
-setenv XC_CFLAGS "-I${HOME}/.iraf/"
+set FAKEHOME="$iraf/fakehome"
+setenv HSI_CF "-I${FAKEHOME}/.iraf/ $HSI_CF"
+setenv HSI_FF "-I${FAKEHOME}/.iraf/ $HSI_FF"
+setenv HSI_LF "-I${FAKEHOME}/.iraf/ $HSI_LF"
+setenv HSI_XF "-I${FAKEHOME}/.iraf/ $HSI_XF"
+setenv XC_CFLAGS "-I${FAKEHOME}/.iraf/"
+unset FAKEHOME
# The following determines whether or not the VOS is used for filename mapping.