Commit 0d7259f Ticket 48204 - remove python2 from scripts

1 file Authored and Committed by mreynolds 9 days ago
Ticket 48204 - remove python2 from scripts

Description:  Change the @pythonexec@ macro to use python3

https://pagure.io/389-ds-base/issue/48204

Reviewed by: ?

    
 1 @@ -545,12 +545,12 @@
 2     if test  "$with_pythonexec" = yes ; then
 3       AC_MSG_ERROR([You must specify --with-pythonexec=/full/path/to/python])
 4     elif test  "$with_pythonexec" = no ; then
 5 -     with_pythonexec=/usr/bin/python2
 6 +     with_pythonexec=/usr/bin/python3
 7     else
 8       AC_MSG_RESULT([$with_pythonexec])
 9     fi
10   else
11 -   with_pythonexec=/usr/bin/python2
12 +   with_pythonexec=/usr/bin/python3
13   fi
14   
15   AC_SUBST(prefixdir)
16 @@ -630,7 +630,7 @@
17   if test -n "$with_pythonexec"; then
18     pythonexec="$with_pythonexec"
19   else
20 -   pythonexec='/usr/bin/env python2'
21 +   pythonexec='/usr/bin/python3'
22   fi
23   
24   # Default to no atomic queue operations.