The INSTALL script contains several lines of code that are broken in Bourne shell due to use of == instead of = in string comparisons. This has gone unnoticed because this code was developed and tested on systems which link /bin/sh to /bin/bash. The INSTALL script also contains several uses of backtics where a subshell expression would be more appropriate and standard practice. This PR fixes these errors, resulting in a script that works correctly for both /bin/sh and /bin/bash shells.
The
INSTALL
script contains several lines of code that are broken in Bourne shell due to use of==
instead of=
in string comparisons. This has gone unnoticed because this code was developed and tested on systems which link/bin/sh
to/bin/bash
. TheINSTALL
script also contains several uses of backtics where a subshell expression would be more appropriate and standard practice. This PR fixes these errors, resulting in a script that works correctly for both/bin/sh
and/bin/bash
shells.