commit:     c1c786c56d7d3dc59a65f29f990b1a40f38102f2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 21:24:58 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 20:59:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1c786c5

autotools.eclass: use same ${WANT_AUTOCONF} comparison test throughout

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/autotools.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 3090da5a01f..ba631aa7d14 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -253,7 +253,7 @@ eautoreconf() {
        done
        ${rerun_aclocal} && eaclocal
 
-       if [[ ${WANT_AUTOCONF} = 2.1 ]] ; then
+       if [[ ${WANT_AUTOCONF} == "2.1" ]] ; then
                eautoconf
        else
                eautoconf --force

Reply via email to