aboutsummaryrefslogtreecommitdiff
path: root/util
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
parentec0ce88c6a0c038346b51865ade855b86ac9a58e (diff)
downloadiraf-linux-master.tar.gz
Add more FAKEHOME fixesHEADmaster
Diffstat (limited to 'util')
-rwxr-xr-xutil/check_update4
-rwxr-xr-xutil/fget4
-rwxr-xr-xutil/iraf_latest4
-rwxr-xr-xutil/iraf_update4
-rwxr-xr-xutil/mkarch8
-rwxr-xr-xutil/mkbindist4
-rwxr-xr-xutil/mkclean4
-rwxr-xr-xutil/mkproto4
-rwxr-xr-xutil/mksrc4
-rwxr-xr-xutil/mksysgen10
-rwxr-xr-xutil/mkup4
-rwxr-xr-xutil/mkupx4
-rwxr-xr-xutil/pkgconfig4
-rwxr-xr-xutil/pkgdel4
-rwxr-xr-xutil/pkgget4
-rwxr-xr-xutil/pkginit4
-rwxr-xr-xutil/pkginst4
-rwxr-xr-xutil/pkgupdate4
-rwxr-xr-xutil/self_update4
19 files changed, 43 insertions, 43 deletions
diff --git a/util/check_update b/util/check_update
index b1973b8c..e42941a6 100755
--- a/util/check_update
+++ b/util/check_update
@@ -6,8 +6,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
diff --git a/util/fget b/util/fget
index 828f2463..95f51d17 100755
--- a/util/fget
+++ b/util/fget
@@ -42,8 +42,8 @@ if [ -n "$iraf" ]; then
fi
# 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
diff --git a/util/iraf_latest b/util/iraf_latest
index 32462113..dde0e07d 100755
--- a/util/iraf_latest
+++ b/util/iraf_latest
@@ -15,8 +15,8 @@ fi
# 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
diff --git a/util/iraf_update b/util/iraf_update
index fb0f1a3f..81cde518 100755
--- a/util/iraf_update
+++ b/util/iraf_update
@@ -65,8 +65,8 @@ fi
# 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
diff --git a/util/mkarch b/util/mkarch
index 733dc04f..22d6589f 100755
--- a/util/mkarch
+++ b/util/mkarch
@@ -6,8 +6,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
@@ -73,6 +73,6 @@ while [ "$loop_" == "yes" ]; do
fi
done
-if [ -e "$HOME/.iraf/arch" ]; then
- echo $arch > $HOME/.iraf/arch
+if [ -e "$FAKEHOME/arch" ]; then
+ echo $arch > $FAKEHOME/arch
fi
diff --git a/util/mkbindist b/util/mkbindist
index 0e1b978f..abdf6b08 100755
--- a/util/mkbindist
+++ b/util/mkbindist
@@ -5,8 +5,8 @@ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/5bin:/usr/ucb:/etc:/usr/etc:$PAT
# 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
diff --git a/util/mkclean b/util/mkclean
index 57aab395..fdb42f84 100755
--- a/util/mkclean
+++ b/util/mkclean
@@ -8,8 +8,8 @@ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/5bin:/usr/ucb:/etc:/usr/etc:$PAT
# 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
diff --git a/util/mkproto b/util/mkproto
index 195bbba6..71493df4 100755
--- a/util/mkproto
+++ b/util/mkproto
@@ -16,8 +16,8 @@ tproto=/tmp/_vosproto.$$
# 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
diff --git a/util/mksrc b/util/mksrc
index ba22dca4..a57693ed 100755
--- a/util/mksrc
+++ b/util/mksrc
@@ -6,8 +6,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
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
diff --git a/util/mkup b/util/mkup
index ed4499f5..9867caad 100755
--- a/util/mkup
+++ b/util/mkup
@@ -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
diff --git a/util/mkupx b/util/mkupx
index 126c3e8d..71cace76 100755
--- a/util/mkupx
+++ b/util/mkupx
@@ -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
diff --git a/util/pkgconfig b/util/pkgconfig
index e5e6c513..14b22b38 100755
--- a/util/pkgconfig
+++ b/util/pkgconfig
@@ -6,8 +6,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
diff --git a/util/pkgdel b/util/pkgdel
index f7d52568..a2f47bc1 100755
--- a/util/pkgdel
+++ b/util/pkgdel
@@ -8,8 +8,8 @@ irafdir=${bindir%/*}
# 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
diff --git a/util/pkgget b/util/pkgget
index fba02c04..ef3acc43 100755
--- a/util/pkgget
+++ b/util/pkgget
@@ -20,8 +20,8 @@ export PATH=../util:$PATH
# 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
diff --git a/util/pkginit b/util/pkginit
index a484d522..7259be76 100755
--- a/util/pkginit
+++ b/util/pkginit
@@ -8,8 +8,8 @@ irafdir=${bindir%/*}
# 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
diff --git a/util/pkginst b/util/pkginst
index d4a83a24..22672f1b 100755
--- a/util/pkginst
+++ b/util/pkginst
@@ -13,8 +13,8 @@ irafdir=${bindir%/*}
# 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
diff --git a/util/pkgupdate b/util/pkgupdate
index ea73ec1b..abf079dd 100755
--- a/util/pkgupdate
+++ b/util/pkgupdate
@@ -35,8 +35,8 @@ irafdir=${bindir%/*}
# 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
diff --git a/util/self_update b/util/self_update
index f5896d44..8e438909 100755
--- a/util/self_update
+++ b/util/self_update
@@ -5,8 +5,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