From: vsr Date: Mon, 3 Oct 2005 07:46:43 +0000 (+0000) Subject: Fix a bug: after installation of omni binaries it is necessary to correct path to... X-Git-Tag: V_2_2_5~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e29cb15eac05cec1b0a27dcc756f87d0c20083a2;p=tools%2Finstall.git Fix a bug: after installation of omni binaries it is necessary to correct path to python in omniidl tool. --- diff --git a/config_files/omniORB-4.0.5.sh b/config_files/omniORB-4.0.5.sh index e5f0223..7fcb7bf 100755 --- a/config_files/omniORB-4.0.5.sh +++ b/config_files/omniORB-4.0.5.sh @@ -144,6 +144,12 @@ source ${INSTALL_WORK}/$SHRC check_jb tar xfz ${SOURCE_DIR}/omniORB-4.0.5.tar.gz -C ${INSTALL_ROOT} ln -s ${PRODUCT_DIR} ${INSTALL_ROOT}/omni + +cd ${PRODUCT_DIR}/bin +sed -e "s%#\!.*python%#\!`which python`%" omniidl > _omniidl +mv -f _omniidl omniidl +chmod a+x omniidl + print_env }