]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Small correction
authormaintenance team <salome-mnt@opencascade.com>
Tue, 17 Jul 2007 12:04:43 +0000 (12:04 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Tue, 17 Jul 2007 12:04:43 +0000 (12:04 +0000)
config_files/YACS_BIN.sh
config_files/common.sh

index 731a38bc6ae4e2a8d64fc9b6f6170b3baf42f7de..7517a24f8bcbf35b68e677f3ef5eff9f2a78eafb 100755 (executable)
@@ -38,6 +38,9 @@ fi
 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM
 export YACS_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+export YACSGui_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+export YACSGUI_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
+export SalomeAppConfig\=${YACS_ROOT_DIR}/share/salome/resources/yacsgui
 if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
   if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
     export PATH=\${YACS_ROOT_DIR}/bin/salome:\${PATH}
index 9b4e548053f54d480d98724534819a4973e9807d..0c23e87b583801f63d30637caa1aa227148f6b73 100755 (executable)
@@ -728,10 +728,10 @@ if [ "$l" != "X" ] ; then
     # 3. process metis dependencies
     metisdir=`printenv METISDIR`
     if [ ! -d ${metisdir} ] ; then metisdir=`printenv  METISDIR` ; fi
-    sed -e "s%-L[^[:space:]]*metis[^[:space:]]%-L${libxmldir}%g" $l > $l"_"
+    sed -e "s%-L[^[:space:]]*metis[^[:space:]]*%-L${metisdir}%g" $l > $l"_"
     mv -f $l"_" $l     
 
-    # 3. process metis dependencies
+    # 3. process scotch dependencies
     scotchdir=`printenv SCOTCHDIR`/bin
     if [ ! -d ${scotchdir} ] ; then scotchdir=`printenv SCOTCHDIR`/bin ; fi
     sed    -e "s%-L[^[:space:]]*scotch[^[:space:]]*/bin%-L${scotchdir}%g" $l > $l"_"