]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix problem of modif_la_files() function when using without-gui mode
authorinv <inv@opencascade.com>
Thu, 24 Nov 2011 09:04:26 +0000 (09:04 +0000)
committerinv <inv@opencascade.com>
Thu, 24 Nov 2011 09:04:26 +0000 (09:04 +0000)
config_files/common.sh

index d950f943a6dbe6438f6cfa93335245259c629d84..1f67041e5348c89b6a525cdb8e18c1e22c0f54e7 100755 (executable)
@@ -682,7 +682,9 @@ if [ "$l" != "X" ] ; then
        moddir=`printenv ${mod}_ROOT_DIR`
        if [ -n "${moddir}" ] ; then
            sed -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod}[1]\?/lib% \1${moddir}/lib%g" \
-               -e "s%^libdir='[^[:space:]]*${mod}[1]\?/\(lib.*\)'%libdir='${moddir}/\1'%g" $l > $l"_"
+               -e "s%[[:space:]]\(-L\)\?[^[:space:]]*${mod}WOGUI[1]\?/lib% \1${moddir}/lib%g" \
+               -e "s%^libdir='[^[:space:]]*${mod}[1]\?/\(lib.*\)'%libdir='${moddir}/\1'%g" \
+               -e "s%^libdir='[^[:space:]]*${mod}WOGUI[1]\?/\(lib.*\)'%libdir='${moddir}/\1'%g" $l > $l"_"
            mv -f $l"_" $l
        fi
     done