Salome HOME
Fix another bug with *.la files
authorvsr <vsr@opencascade.com>
Thu, 18 May 2006 13:36:23 +0000 (13:36 +0000)
committervsr <vsr@opencascade.com>
Thu, 18 May 2006 13:36:23 +0000 (13:36 +0000)
config_files/common.sh

index ff7d0277ab7082071b8fafc4133a23dd1f436618..2b572141dc0d5769dfff29fcb7cc4c91e11a406d 100755 (executable)
@@ -506,7 +506,7 @@ if [ "$l" != "X" ] ; then
        moddir=`printenv ${mod}_ROOT_DIR`
        if [ -n "${moddir}" ] ; then
            #echo $l $mod $moddir
-           sed -e "s%\(-L\|[[:space:]]\)[^[:space:]]*${mod}[^[:space:]]*/lib%\1${moddir}/lib%g" $l > $l"_"
+           sed -e "s%\(-L\|[[:space:]]\)[^[:space:]]*${mod}[^[:space:]/]*/lib%\1${moddir}/lib%g" $l > $l"_"
            mv -f $l"_" $l
        fi
     done