aboutsummaryrefslogtreecommitdiff
path: root/util/mksysgen
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunk@lecter.stsci.edu>2015-08-11 16:08:25 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:11:16 -0400
commit912a5d7aa5f839d3a266cd575fd9165e7d390cde (patch)
tree97401c2172490647cada420bc877c1deb1ff5dd4 /util/mksysgen
parentec0ce88c6a0c038346b51865ade855b86ac9a58e (diff)
downloadiraf-linux-master.tar.gz
Add more FAKEHOME fixesHEADmaster
Diffstat (limited to 'util/mksysgen')
-rwxr-xr-xutil/mksysgen10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/mksysgen b/util/mksysgen
index 48c4b338..7e3679b5 100755
--- a/util/mksysgen
+++ b/util/mksysgen
@@ -3,8 +3,8 @@
# Initialize the $iraf and environment.
if [ -z "$iraf" ]; then
- if [ -e "$HOME/.iraf/setup.sh" ]; then
- source $HOME/.iraf/setup.sh
+ if [ -e "$FAKEHOME/setup.sh" ]; then
+ source $FAKEHOME/setup.sh
else
source unix/hlib/setup.sh
fi
@@ -22,12 +22,12 @@ if [ -z "$iraf" ]; then
iraf=`pwd`/
fi
-if [ -e "$HOME/.iraf/arch" ]; then
+if [ -e "$FAKEHOME/arch" ]; then
if [ -n "$IRAFARCH" ]; then
- iarch=`cat $HOME/.iraf/arch`
+ iarch=`cat $FAKEHOME/arch`
if [ "$iarch" != "$IRAFARCH" ]; then
/bin/echo ""
- /bin/echo 'Error: Your $IRAFARCH does not match $HOME/.iraf/arch,'
+ /bin/echo 'Error: Your $IRAFARCH does not match $FAKEHOME/arch,'
/bin/echo ' Please change $IRAFARCH or rerun install script.'
/bin/echo ""
exit 1