From ded96a18644778febeb54a101b311f57a3ba975b Mon Sep 17 00:00:00 2001 From: Masato Onodera Date: Fri, 11 Aug 2023 15:39:57 -1000 Subject: [PATCH] Fix iraf$ variable for personal installation --- unix/hlib/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/hlib/setup.sh b/unix/hlib/setup.sh index 121fd99b3..66b5db761 100755 --- a/unix/hlib/setup.sh +++ b/unix/hlib/setup.sh @@ -2,7 +2,7 @@ d_iraf="/iraf/iraf/" if [ -z "$iraf" ]; then if [ -r ${HOME}/.iraf/irafroot ] ; then - export iraf=$(cat /etc/iraf/irafroot) + export iraf=$(cat ${HOME}/.iraf/irafroot) elif [ -r /etc/iraf/irafroot ] ; then export iraf=$(cat /etc/iraf/irafroot) else