View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Bug in IRAF install script

astrorafael wrote on Dec 15, 2015


Hi:

I have found a small bug trying to install IRAF. Running instal script --system gave me an error in line 1006

Installed IRAF wSystem account with bash as the SHELL

Patched the script like this

1006c1006
<         if (( "$err_seen"=0 )); then
---
>         if (( "$err_seen"==0 )); then
 


In addition, I have added the following

988c988

<   if [ "$SHELL" == "/bin/sh" ]; then
---
>   if [ "$SHELL" == "/bin/sh" ] || [ "$SHELL" == "/bin/bash" ] ; then

 


Greetings

Rafael


Last post on Dec 15, 2015