From 7b84d6dcd60a10d0ad316ab4eadf0079c2f7f108 Mon Sep 17 00:00:00 2001 From: DUC ANH HOANG Date: Mon, 26 Sep 2022 14:32:48 +0200 Subject: [PATCH] minor correction: Append pythonbin on somme commande in order to build on system where there are both python2 and python3 --- products/compil_scripts/omniORB.sh | 2 +- products/compil_scripts/omniORBpy.sh | 2 +- products/compil_scripts/openturns-1.18.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/products/compil_scripts/omniORB.sh b/products/compil_scripts/omniORB.sh index 5d8322c..b58b045 100755 --- a/products/compil_scripts/omniORB.sh +++ b/products/compil_scripts/omniORB.sh @@ -10,7 +10,7 @@ PYTHON_HOME=$PYTHONHOME echo echo "*** configure --prefix=$PRODUCT_INSTALL --disable-ipv6" -$SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL --disable-ipv6 +PYTHON=$PYTHONBIN $SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL --disable-ipv6 if [ $? -ne 0 ] then echo "ERROR on configure" diff --git a/products/compil_scripts/omniORBpy.sh b/products/compil_scripts/omniORBpy.sh index 6fa96a3..e1c3f06 100755 --- a/products/compil_scripts/omniORBpy.sh +++ b/products/compil_scripts/omniORBpy.sh @@ -6,7 +6,7 @@ echo "########################################################################## echo echo "*** configure --prefix=${OMNIORB_ROOT_DIR}" -$SOURCE_DIR/configure --prefix=${OMNIORB_ROOT_DIR} +PYTHON=$PYTHONBIN $SOURCE_DIR/configure --prefix=${OMNIORB_ROOT_DIR} if [ $? -ne 0 ] then echo "ERROR on configure" diff --git a/products/compil_scripts/openturns-1.18.sh b/products/compil_scripts/openturns-1.18.sh index d180a40..ada4b78 100755 --- a/products/compil_scripts/openturns-1.18.sh +++ b/products/compil_scripts/openturns-1.18.sh @@ -150,7 +150,7 @@ fi export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH} export LD_LIBRARY_PATH=${PRODUCT_INSTALL}/lib:${LD_LIBRARY_PATH} chmod +x ${SOURCE_DIR}/openturns-1.18/python/test/t_features.py -${SOURCE_DIR}/openturns-1.18/python/test/t_features.py +${PYTHONBIN} ${SOURCE_DIR}/openturns-1.18/python/test/t_features.py if [ $? -ne 0 ] then echo "ERROR testing Openturns features...." -- 2.39.2