From 0d7259fa594c7e90cde883baac43342b076545b4 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Jun 11 2018 17:01:01 +0000 Subject: Ticket 48204 - remove python2 from scripts Description: Change the @pythonexec@ macro to use python3 https://pagure.io/389-ds-base/issue/48204 Reviewed by: ? --- diff --git a/configure.ac b/configure.ac index aece658..78a7a42 100644 --- a/configure.ac +++ b/configure.ac @@ -545,12 +545,12 @@ if test -n "$with_pythonexec"; then if test "$with_pythonexec" = yes ; then AC_MSG_ERROR([You must specify --with-pythonexec=/full/path/to/python]) elif test "$with_pythonexec" = no ; then - with_pythonexec=/usr/bin/python2 + with_pythonexec=/usr/bin/python3 else AC_MSG_RESULT([$with_pythonexec]) fi else - with_pythonexec=/usr/bin/python2 + with_pythonexec=/usr/bin/python3 fi AC_SUBST(prefixdir) @@ -630,7 +630,7 @@ fi if test -n "$with_pythonexec"; then pythonexec="$with_pythonexec" else - pythonexec='/usr/bin/env python2' + pythonexec='/usr/bin/python3' fi # Default to no atomic queue operations.