Salome HOME
Prepare SALOME 2.2.6 installation
[tools/install.git] / config_files / omniORB-3.0.5.sh
index 8cbc8ade31ec9a4667cbeda4928230b78710f2b7..cc5583622407c41ff158bd7b4e2b49aeae7e9823 100755 (executable)
@@ -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
 }