Skip to content

Commit

Permalink
Merge pull request #314 from olebole/fix-mkiraf-localinstall
Browse files Browse the repository at this point in the history
Fix detection of IRAF root on locally installed systems
  • Loading branch information
olebole committed Jul 12, 2023
2 parents 44f16fd + ee3a23a commit 968da63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/hlib/mkiraf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cachedir="${HOME}/.iraf/cache/"
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
Expand Down

0 comments on commit 968da63

Please sign in to comment.