From: vsr Date: Mon, 3 Oct 2005 07:45:29 +0000 (+0000) Subject: Fix a bug: after installation of omni binaries it is necessary to correct path to... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FMandrake_10_1;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 }