diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2021-12-07 21:11:41 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-12-11 07:17:42 -0400 |
| commit | ab8d0e572537006a4e1dafa266075ed0d848c80f (patch) | |
| tree | 155ab3e465e2ebf9fe7c5597cb6851de3acf4b3c /configure | |
| parent | a06b76b9b3c1212b17d2bb170bdd511711f578f8 (diff) | |
configure: have bash_absolute and perl_absolute always defined
Since set -u is used, without bash or perl, configure would fail.
This has gone unnoticed as (almost) everyone always had both
bash and perl installed (and in $PATH).
Thanks to FreeBSD ports this bug became visible; this change is
verbatim copy of `patch-configure` in FreeBSD ports tree.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -734,6 +734,7 @@ if command -v ${BASHCMD} > /dev/null; then printf "Yes (%s).\n" "$bash_absolute" else have_bash=0 + bash_absolute= printf "No. (%s not found)\n" "${BASHCMD}" fi @@ -744,6 +745,7 @@ if command -v ${PERL} > /dev/null; then printf "Yes (%s).\n" "$perl_absolute" else have_perl=0 + perl_absolute= printf "No. (%s not found)\n" "${PERL}" fi |
