You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2018/11/02 13:19:34 UTC

qpid-dispatch git commit: DISPATCH-1164 - Updated config.sh to default to python2 if both are present. This is the same default that the reset of the build system uses.

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 3d79fda11 -> 04802507f


DISPATCH-1164 - Updated config.sh to default to python2 if both are present.  This is the same default that the reset of the build system uses.


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/04802507
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/04802507
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/04802507

Branch: refs/heads/master
Commit: 04802507f2c06c2ca7ef47f2318c8b99e49150b8
Parents: 3d79fda
Author: Ted Ross <tr...@redhat.com>
Authored: Fri Nov 2 09:18:04 2018 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Fri Nov 2 09:19:23 2018 -0400

----------------------------------------------------------------------
 config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/04802507/config.sh
----------------------------------------------------------------------
diff --git a/config.sh b/config.sh
index d9733e8..0e8cddd 100644
--- a/config.sh
+++ b/config.sh
@@ -26,7 +26,7 @@ export SOURCE_DIR=$(pwd)
 export BUILD_DIR=$SOURCE_DIR/${1:-build}
 export INSTALL_DIR=$SOURCE_DIR/${2:-install}
 
-PYTHON_BIN=`type -P python3 || type -P python`
+PYTHON_BIN=`type -P python || type -P python3`
 PYTHON_LIB=$(${PYTHON_BIN} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(prefix='$INSTALL_DIR'))")
 
 export LD_LIBRARY_PATH=$INSTALL_DIR/lib64:$INSTALL_DIR/lib:$LD_LIBRARY_PATH


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org