mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
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.
This commit is contained in:
parent
a06b76b9b3
commit
ab8d0e5725
1 changed files with 2 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue