X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=config_files%2FomniORB-3.0.5.sh;h=cc5583622407c41ff158bd7b4e2b49aeae7e9823;hb=1a5386dd06e7c8b847fc15a343947fa05658f112;hp=8cbc8ade31ec9a4667cbeda4928230b78710f2b7;hpb=6cf8b5cd2fa23e5ab67838dcccbe345185efbf54;p=tools%2Finstall.git diff --git a/config_files/omniORB-3.0.5.sh b/config_files/omniORB-3.0.5.sh index 8cbc8ad..cc55836 100755 --- a/config_files/omniORB-3.0.5.sh +++ b/config_files/omniORB-3.0.5.sh @@ -2,7 +2,7 @@ check_version() { -if [ -z "$OMNIORBDIR" ]; then +if [ -z "${OMNIORBDIR}" ]; then #echo "OMNIORBDIR doesn't set" return 1 fi @@ -142,6 +142,12 @@ source ${INSTALL_WORK}/$SHRC check_jb tar xfz ${SOURCE_DIR}/omniORB-3.0.5.tar.gz -C ${INSTALL_ROOT} ln -s ${PRODUCT_DIR} ${INSTALL_ROOT}/omni + +cd ${PRODUCT_DIR}/bin/i586_linux_2.0_glibc2.1 +sed -e "s%\(#\!/usr/bin/env.*\)python%\1`which python`%" omniidlrun.py > _omniidlrun.py +mv -f _omniidlrun.py omniidlrun.py +chmod a+x omniidlrun.py + print_env }