]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix Python fallback in configure.ac
authorGreg Hudson <ghudson@mit.edu>
Tue, 28 May 2019 14:55:56 +0000 (10:55 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 9 Dec 2019 22:02:52 +0000 (17:02 -0500)
Commit 2bd410ecdb366083fe9b4e5f6ac4b741b624230b (ticket 8709)
contained a typo "text" for "test", preventing the Python path check
from falling back from python2 to python.  This is now a fallback from
python3 to python, but the typo remains.  Fix it now.

Based on a patch by Michael Osipov.

(cherry picked from commit b7c260b22c5d815b83ff37a35569e07e847cd9c3)

ticket: 8810
version_fixed: 1.17.1

src/configure.in

index 61ef738dc4e7e860a472221d0aa03c20a9a69713..36df71fa973af1ed7f0c06964285d2af88f8688e 100644 (file)
@@ -1110,7 +1110,7 @@ AC_SUBST(HAVE_RUNTEST)
 
 # For Python tests.
 AC_CHECK_PROG(PYTHON,python3,python3)
-if text x"$PYTHON" = x; then
+if test x"$PYTHON" = x; then
        AC_CHECK_PROG(PYTHON,python,python)
 fi
 HAVE_PYTHON=no