export PATH=\${GUI_ROOT_DIR}/bin/salome:\${PATH}
export LD_LIBRARY_PATH=\${GUI_ROOT_DIR}/lib/salome:\${LD_LIBRARY_PATH}
export PYTHONPATH=\${GUI_ROOT_DIR}/bin/salome:\${GUI_ROOT_DIR}/lib/salome:\${GUI_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH}
- export SUITRoot=\${GUI_ROOT_DIR}/share/salome
- export SalomeAppConfig=\${GUI_ROOT_DIR}/share/salome/resources
fi
fi
##
export PATH=\${GUI_ROOT_DIR}/bin/salome:\${PATH}
export LD_LIBRARY_PATH=\${GUI_ROOT_DIR}/lib/salome:\${LD_LIBRARY_PATH}
export PYTHONPATH=\${GUI_ROOT_DIR}/bin/salome:\${GUI_ROOT_DIR}/lib/salome:\${GUI_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH}
- export SUITRoot=\${GUI_ROOT_DIR}/share/salome
- export SalomeAppConfig=\${GUI_ROOT_DIR}/share/salome/resources
fi
fi
##
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
}