[ovs-git] [openvswitch/ovs] 2c6761: m4: Try to use "python" as Python2 interpreter onl...
GitHub
noreply at github.com
Thu Mar 8 18:33:34 UTC 2018
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 2c6761dc0dd82d906128d789028c0e0e51a00d78
https://github.com/openvswitch/ovs/commit/2c6761dc0dd82d906128d789028c0e0e51a00d78
Author: Timothy Redaelli <tredaelli at redhat.com>
Date: 2018-03-08 (Thu, 08 Mar 2018)
Changed paths:
M m4/openvswitch.m4
Log Message:
-----------
m4: Try to use "python" as Python2 interpreter only as last resort
This patch tries to find Python 2 as "python2", then "python2.7" and finally
"python".
This is needed since "/usr/bin/python" is used as Python 3 on some Linux
distributions (for example on Arch Linux) and on Fedora 28
"/usr/bin/python" will be deprecated [1]:
"All scripts shall explicitly use /usr/bin/python2."
[1] https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list