From: vsr Date: Tue, 21 Jun 2005 07:09:01 +0000 (+0000) Subject: Add environment variable to force old implementation of threads usage on Red Hat 9 X-Git-Tag: V_2_2_4~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d283f8a0fe5da558e756a77042e4ccbc309d603c;p=tools%2Finstall.git Add environment variable to force old implementation of threads usage on Red Hat 9 --- diff --git a/config_files/common.sh b/config_files/common.sh index 2bca801..917e484 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -97,6 +97,17 @@ export INSTALL_ROOT=${install_root} export ENV_FOR_LAUNCH=1 EOF +### !!! The next is for RedHat 9 only !!! +if [ -f /etc/redhat-release ] ; then + grep -e "Red Hat Linux release 9" /etc/redhat-release > /dev/null + if [ $? -eq 0 ] ; then + cat >> ${install_work}/$SHRC < set inital variables pre_vars="PATH LD_LIBRARY_PATH LD_RUN_PATH PYTHONPATH TCLLIBPATH" for i in $pre_vars ; do