]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix a bug in the script: syntax error (misprint)
authorinv <inv@opencascade.com>
Tue, 10 Apr 2012 06:03:14 +0000 (06:03 +0000)
committerinv <inv@opencascade.com>
Tue, 10 Apr 2012 06:03:14 +0000 (06:03 +0000)
config_files/libxml2.sh

index e70c78262358c94c8e5273f44300ad17dbb66e2a..5214c67ff60f3177eaf90de893439e1c4ed78348 100755 (executable)
@@ -57,7 +57,7 @@ install_source()
 make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
 source ${INSTALL_WORK}/$SHRC
 
-check_jb tar xfz ${SRC_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
 
 # patch problem with crash on 64bit platform; required at least for v2.7.8
 if [ -f patches/libxml2_2.7.8.patch ] ; then
@@ -113,7 +113,7 @@ cd ${PRODUCT_DIR}/lib
 for l in X `find -type f -name *.la`; do
     if [ "${l}" != "X" ] ; then
         sed -i "s%^libdir='\(.*\)'%libdir='${PRODUCT_DIR}/lib'%g;" ${l}
-    fis
+    fi
 done
 
 # modify pkgconfig
@@ -135,7 +135,6 @@ export INST_ROOT=$4;
 export PRODUCT_SEQUENCE=$5;
 export PRODUCT_TYPE=$6;
 export INSTALL_PRODUCTS=$7;
-SRC_DIR=$8;
 shift
 REMOVE_SRC_TMP=$8;
 test $# == 10 && shift && SINGLE_DIR=$9