]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix of regression
authorvsr <vsr@opencascade.com>
Mon, 9 Dec 2013 08:40:01 +0000 (08:40 +0000)
committervsr <vsr@opencascade.com>
Mon, 9 Dec 2013 08:40:01 +0000 (08:40 +0000)
config_files/qwt.sh

index 6e99ec332904036c2a7ebbb2a6e24cd7806b0a4c..686dfe8b4191880887d15c57907bc21a238b4c07 100755 (executable)
@@ -76,17 +76,17 @@ if [ "${patch_build_procedure}" = "1" ] ; then
     # specify install path
     if [ "${QWT_MAJOR_VERSION}" = "5" ] ; then
         # for Qwt 5.x the variable is INSTALLBASE
-       sed -i "s%\(INSTALLBASE[[:space:]]*\)=\([[:space:]]*\).*%\1=\2${PRODUCT_DIR}%g" qwtconfig.pri
+       sed -i "s%\(INSTALLBASE[[:space:]]*\)=\([[:space:]]*\).*%\1=\2${PRODUCT_DIR}%g" ${PRODUCT_SRC_DIR}/qwtconfig.pri
     else
         # for Qwt 6.x the variable is QWT_INSTALL_PREFIX
-       sed -i "s%\(QWT_INSTALL_PREFIX[[:space:]]*\)=\([[:space:]]*\).*%\1=\2${PRODUCT_DIR}%g" qwtconfig.pri
+       sed -i "s%\(QWT_INSTALL_PREFIX[[:space:]]*\)=\([[:space:]]*\).*%\1=\2${PRODUCT_DIR}%g" ${PRODUCT_SRC_DIR}/qwtconfig.pri
     fi
     
     if [ "${QWT_MAJOR_VERSION}" = "5" ] ; then
         # include QwtSvg support (required only for qwt 5.x)
-       sed -i "s%#\(CONFIG[[:space:]]*+=[[:space:]]*QwtSVGItem\)%\1%g" qwtconfig.pri
+       sed -i "s%#\(CONFIG[[:space:]]*+=[[:space:]]*QwtSVGItem\)%\1%g" ${PRODUCT_SRC_DIR}/qwtconfig.pri
         # specify correct installation path for the designer plugin (required only for qwt 5.x)
-       sed -i "s%\(target\.path[[:space:]]*\)=\([[:space:]]*\).*%\1=\2\$\$INSTALLBASE/plugins/designer%g" designer/designer.pro
+       sed -i "s%\(target\.path[[:space:]]*\)=\([[:space:]]*\).*%\1=\2\$\$INSTALLBASE/plugins/designer%g" ${PRODUCT_SRC_DIR}/designer/designer.pro
     fi
 fi