From: vsr Date: Thu, 15 May 2008 14:40:26 +0000 (+0000) Subject: Fix regression with environment generation caused by 'single dir' mode implementation X-Git-Tag: V_3_2_10~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c1fcf6dc76838b976c4956e540129e4a6df02cac;p=tools%2Finstall.git Fix regression with environment generation caused by 'single dir' mode implementation --- diff --git a/config_files/BOOST-1.31.0.sh b/config_files/BOOST-1.31.0.sh index 54a64ab..6b3d71f 100755 --- a/config_files/BOOST-1.31.0.sh +++ b/config_files/BOOST-1.31.0.sh @@ -145,7 +145,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="boost" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="boost" ; fi export PRODUCT="boost-1.31.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/BOOST-1.32.0.sh b/config_files/BOOST-1.32.0.sh index f4a323a..226c099 100755 --- a/config_files/BOOST-1.32.0.sh +++ b/config_files/BOOST-1.32.0.sh @@ -151,7 +151,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="boost" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="boost" ; fi export PRODUCT="boost-1.32.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/CALCULATOR_SRC.sh b/config_files/CALCULATOR_SRC.sh index aad8d9d..95100d1 100755 --- a/config_files/CALCULATOR_SRC.sh +++ b/config_files/CALCULATOR_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="CALCULATORsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="CALCULATORsrc" ; fi export PRODUCT="CALCULATOR_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/CAS-6.2sp3.sh b/config_files/CAS-6.2sp3.sh index 83d3d17..0b951cb 100755 --- a/config_files/CAS-6.2sp3.sh +++ b/config_files/CAS-6.2sp3.sh @@ -249,7 +249,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="cas" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="cas" ; fi export PRODUCT="CAS-6.2sp3" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/COMPONENT_SRC.sh b/config_files/COMPONENT_SRC.sh index 3fa7b07..65552af 100755 --- a/config_files/COMPONENT_SRC.sh +++ b/config_files/COMPONENT_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="COMPONENTsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="COMPONENTsrc" ; fi export PRODUCT="COMPONENT_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/DOCUMENTATION.sh b/config_files/DOCUMENTATION.sh index 8c486be..f5c2a19 100755 --- a/config_files/DOCUMENTATION.sh +++ b/config_files/DOCUMENTATION.sh @@ -58,7 +58,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="DOCUMENTATION" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="DOCUMENTATION" ; fi export PRODUCT="DOCUMENTATION_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/GEOM_SRC.sh b/config_files/GEOM_SRC.sh index 2d0db96..4be464d 100755 --- a/config_files/GEOM_SRC.sh +++ b/config_files/GEOM_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GEOMsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GEOMsrc" ; fi export PRODUCT="GEOM_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/GHS3DPLUGIN_SRC.sh b/config_files/GHS3DPLUGIN_SRC.sh index 7d2a651..8d73644 100755 --- a/config_files/GHS3DPLUGIN_SRC.sh +++ b/config_files/GHS3DPLUGIN_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GHS3DPLUGINsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GHS3DPLUGINsrc" ; fi export PRODUCT="GHS3DPLUGIN_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/GUI_SRC.sh b/config_files/GUI_SRC.sh index 0ac6d9e..6cf033d 100755 --- a/config_files/GUI_SRC.sh +++ b/config_files/GUI_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GUIsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="GUIsrc" ; fi export PRODUCT="GUI_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/HELLO_SRC.sh b/config_files/HELLO_SRC.sh index 728a75e..f99e28a 100755 --- a/config_files/HELLO_SRC.sh +++ b/config_files/HELLO_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HELLOsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HELLOsrc" ; fi export PRODUCT="HELLO_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/HXX2SALOME.sh b/config_files/HXX2SALOME.sh index 275242c..198d30b 100755 --- a/config_files/HXX2SALOME.sh +++ b/config_files/HXX2SALOME.sh @@ -100,7 +100,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOME" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOME" ; fi export PRODUCT="HXX2SALOME_3.2.10" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/HXX2SALOMEDOC.sh b/config_files/HXX2SALOMEDOC.sh index f884200..e3b355a 100755 --- a/config_files/HXX2SALOMEDOC.sh +++ b/config_files/HXX2SALOMEDOC.sh @@ -55,7 +55,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOMEDOC" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="HXX2SALOMEDOC" ; fi export PRODUCT="HXX2SALOMEDOC_3.2.10" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/KERNEL_SRC.sh b/config_files/KERNEL_SRC.sh index bfd4370..61b2262 100755 --- a/config_files/KERNEL_SRC.sh +++ b/config_files/KERNEL_SRC.sh @@ -109,7 +109,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="KERNELsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="KERNELsrc" ; fi export PRODUCT="KERNEL_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/LIGHT_SRC.sh b/config_files/LIGHT_SRC.sh index 38c4063..5c9e211 100755 --- a/config_files/LIGHT_SRC.sh +++ b/config_files/LIGHT_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="LIGHTsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="LIGHTsrc" ; fi export PRODUCT="LIGHT_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/MEDWOGUI_SRC.sh b/config_files/MEDWOGUI_SRC.sh index a56f287..fe6abdf 100755 --- a/config_files/MEDWOGUI_SRC.sh +++ b/config_files/MEDWOGUI_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MEDWOGUIsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MEDWOGUIsrc" ; fi export PRODUCT="MEDWOGUI_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/MED_SRC.sh b/config_files/MED_SRC.sh index a13e273..ea50112 100755 --- a/config_files/MED_SRC.sh +++ b/config_files/MED_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MEDsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="MEDsrc" ; fi export PRODUCT="MED_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/NETGENPLUGIN_SRC.sh b/config_files/NETGENPLUGIN_SRC.sh index 437cbb3..75b58ab 100755 --- a/config_files/NETGENPLUGIN_SRC.sh +++ b/config_files/NETGENPLUGIN_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="NETGENPLUGINsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="NETGENPLUGINsrc" ; fi export PRODUCT="NETGENPLUGIN_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/Numeric-22.0.sh b/config_files/Numeric-22.0.sh index 6ae6228..c0f95b5 100755 --- a/config_files/Numeric-22.0.sh +++ b/config_files/Numeric-22.0.sh @@ -89,7 +89,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="numeric" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="numeric" ; fi export PRODUCT="Numeric-22.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/Numeric-23.7.sh b/config_files/Numeric-23.7.sh index 26051c9..75fc556 100755 --- a/config_files/Numeric-23.7.sh +++ b/config_files/Numeric-23.7.sh @@ -144,7 +144,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="numeric" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="numeric" ; fi export PRODUCT="Numeric-23.7" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/PYCALCULATOR_SRC.sh b/config_files/PYCALCULATOR_SRC.sh index 1d66d0a..f6f72d7 100755 --- a/config_files/PYCALCULATOR_SRC.sh +++ b/config_files/PYCALCULATOR_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PYCALCULATORsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PYCALCULATORsrc" ; fi export PRODUCT="PYCALCULATOR_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/PYHELLO_SRC.sh b/config_files/PYHELLO_SRC.sh index 88910c7..e88862a 100755 --- a/config_files/PYHELLO_SRC.sh +++ b/config_files/PYHELLO_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PYHELLOsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="PYHELLOsrc" ; fi export PRODUCT="PYHELLO_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/PyQt-3.13.sh b/config_files/PyQt-3.13.sh index 009f813..809da8b 100755 --- a/config_files/PyQt-3.13.sh +++ b/config_files/PyQt-3.13.sh @@ -145,7 +145,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="pyqt" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="pyqt" ; fi export PRODUCT="PyQt-3.13" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/PyQt-3.14.1.sh b/config_files/PyQt-3.14.1.sh index 46ab2d7..fd51fb1 100755 --- a/config_files/PyQt-3.14.1.sh +++ b/config_files/PyQt-3.14.1.sh @@ -157,7 +157,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="pyqt" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="pyqt" ; fi export PRODUCT="PyQt-3.14.1" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/Python-2.3.4.sh b/config_files/Python-2.3.4.sh index 811cc27..a2d14a5 100755 --- a/config_files/Python-2.3.4.sh +++ b/config_files/Python-2.3.4.sh @@ -162,7 +162,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi export PRODUCT="Python-2.3.4" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/Python-2.3.5.sh b/config_files/Python-2.3.5.sh index 4d8e772..18002c0 100755 --- a/config_files/Python-2.3.5.sh +++ b/config_files/Python-2.3.5.sh @@ -163,7 +163,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi export PRODUCT="Python-2.3.5" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/Python-2.4.1.sh b/config_files/Python-2.4.1.sh index 679d17a..b2eb88d 100755 --- a/config_files/Python-2.4.1.sh +++ b/config_files/Python-2.4.1.sh @@ -193,7 +193,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="python" ; fi export PRODUCT="Python-2.4.1" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/RANDOMIZER_SRC.sh b/config_files/RANDOMIZER_SRC.sh index 56200cb..9d75ab3 100755 --- a/config_files/RANDOMIZER_SRC.sh +++ b/config_files/RANDOMIZER_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="RANDOMIZERsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="RANDOMIZERsrc" ; fi export PRODUCT="RANDOMIZER_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/SAMPLES.sh b/config_files/SAMPLES.sh index 483aa10..3d2d731 100755 --- a/config_files/SAMPLES.sh +++ b/config_files/SAMPLES.sh @@ -74,7 +74,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SAMPLES" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SAMPLES" ; fi export PRODUCT="SAMPLES_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/SIERPINSKY_SRC.sh b/config_files/SIERPINSKY_SRC.sh index fd91f5a..73a849a 100755 --- a/config_files/SIERPINSKY_SRC.sh +++ b/config_files/SIERPINSKY_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SIERPINSKYsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SIERPINSKYsrc" ; fi export PRODUCT="SIERPINSKY_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/SMESH_SRC.sh b/config_files/SMESH_SRC.sh index fda7724..a8a0f81 100755 --- a/config_files/SMESH_SRC.sh +++ b/config_files/SMESH_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SMESHsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SMESHsrc" ; fi export PRODUCT="SMESH_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/SUPERV_SRC.sh b/config_files/SUPERV_SRC.sh index f31618b..f91f340 100755 --- a/config_files/SUPERV_SRC.sh +++ b/config_files/SUPERV_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SUPERVsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="SUPERVsrc" ; fi export PRODUCT="SUPERV_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/SWIG-1.3.24.sh b/config_files/SWIG-1.3.24.sh index a4af791..a7bdd64 100755 --- a/config_files/SWIG-1.3.24.sh +++ b/config_files/SWIG-1.3.24.sh @@ -103,7 +103,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="swig" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="swig" ; fi export PRODUCT="SWIG-1.3.24" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/VISU_SRC.sh b/config_files/VISU_SRC.sh index 8f44b99..4bf8065 100755 --- a/config_files/VISU_SRC.sh +++ b/config_files/VISU_SRC.sh @@ -99,7 +99,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="VISUsrc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="VISUsrc" ; fi export PRODUCT="VISU_SRC_${VERSION}" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/VTK-4.2.2.sh b/config_files/VTK-4.2.2.sh index 87b0669..a8cbf95 100755 --- a/config_files/VTK-4.2.2.sh +++ b/config_files/VTK-4.2.2.sh @@ -176,7 +176,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi export PRODUCT="VTK-4.2.2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/VTK-4.2.6.sh b/config_files/VTK-4.2.6.sh index 21fb7fd..a4c1bd5 100755 --- a/config_files/VTK-4.2.6.sh +++ b/config_files/VTK-4.2.6.sh @@ -230,7 +230,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi export PRODUCT="VTK-4.2.6" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/VTK-4.4.2.sh b/config_files/VTK-4.4.2.sh index 46e35b8..f9781d4 100755 --- a/config_files/VTK-4.4.2.sh +++ b/config_files/VTK-4.4.2.sh @@ -218,7 +218,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="vtk" ; fi export PRODUCT="VTK-4.4.2" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/docutils-0.3.7.sh b/config_files/docutils-0.3.7.sh index d2520bd..af9de04 100755 --- a/config_files/docutils-0.3.7.sh +++ b/config_files/docutils-0.3.7.sh @@ -94,7 +94,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="docutils" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="docutils" ; fi export PRODUCT="docutils-0.3.7" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/doxygen-1.4.6.sh b/config_files/doxygen-1.4.6.sh index fbd7e78..0031922 100755 --- a/config_files/doxygen-1.4.6.sh +++ b/config_files/doxygen-1.4.6.sh @@ -134,7 +134,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi export PRODUCT="doxygen-1.4.6" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/doxygen-1.4.7.sh b/config_files/doxygen-1.4.7.sh index a2f477d..961d99a 100755 --- a/config_files/doxygen-1.4.7.sh +++ b/config_files/doxygen-1.4.7.sh @@ -134,7 +134,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="doxygen" ; fi export PRODUCT="doxygen-1.4.7" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/gcc-common.sh b/config_files/gcc-common.sh index da6b59c..a22fd4d 100755 --- a/config_files/gcc-common.sh +++ b/config_files/gcc-common.sh @@ -107,7 +107,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="gcc" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="gcc" ; fi export PRODUCT="gcc-$GCC_VERSION" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/graphviz-1.9.sh b/config_files/graphviz-1.9.sh index 41a17a2..f7d6851 100755 --- a/config_files/graphviz-1.9.sh +++ b/config_files/graphviz-1.9.sh @@ -109,7 +109,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="graphviz" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="graphviz" ; fi export PRODUCT="graphviz-1.9" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/graphviz-2.2.1.sh b/config_files/graphviz-2.2.1.sh index f0c0d7f..149e47b 100755 --- a/config_files/graphviz-2.2.1.sh +++ b/config_files/graphviz-2.2.1.sh @@ -128,7 +128,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="graphviz" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="graphviz" ; fi export PRODUCT="graphviz-2.2.1" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/hdf5-1.6.4.sh b/config_files/hdf5-1.6.4.sh index ac30010..cab4a80 100755 --- a/config_files/hdf5-1.6.4.sh +++ b/config_files/hdf5-1.6.4.sh @@ -126,7 +126,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="hdf" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="hdf" ; fi export PRODUCT="hdf5-1.6.4" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/med-2.2.3.sh b/config_files/med-2.2.3.sh index 83460c5..542c060 100755 --- a/config_files/med-2.2.3.sh +++ b/config_files/med-2.2.3.sh @@ -183,7 +183,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="med" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="med" ; fi export PRODUCT="med-2.2.3" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/med_fichier2.2.3.src diff --git a/config_files/msg2qm.sh b/config_files/msg2qm.sh index 2565122..f415018 100755 --- a/config_files/msg2qm.sh +++ b/config_files/msg2qm.sh @@ -96,7 +96,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="msg2qm" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="msg2qm" ; fi export PRODUCT="msg2qm" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/netgen-4.5.sh b/config_files/netgen-4.5.sh index 530735d..76902f6 100755 --- a/config_files/netgen-4.5.sh +++ b/config_files/netgen-4.5.sh @@ -128,7 +128,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="netgen" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="netgen" ; fi export PRODUCT="netgen-4.5" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/omniORB-4.0.5.sh b/config_files/omniORB-4.0.5.sh index de65d1f..2a1ed69 100755 --- a/config_files/omniORB-4.0.5.sh +++ b/config_files/omniORB-4.0.5.sh @@ -184,7 +184,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="omni" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="omni" ; fi export PRODUCT="omniORB-4.0.5" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/omniORB-4.0.7.sh b/config_files/omniORB-4.0.7.sh index 158a49d..6a3534a 100755 --- a/config_files/omniORB-4.0.7.sh +++ b/config_files/omniORB-4.0.7.sh @@ -216,7 +216,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="omni" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="omni" ; fi export PRODUCT="omniORB-4.0.7" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/qt-3.3.3.sh b/config_files/qt-3.3.3.sh index 77ea650..022be85 100755 --- a/config_files/qt-3.3.3.sh +++ b/config_files/qt-3.3.3.sh @@ -197,7 +197,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi export PRODUCT="qt-3.3.3" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/qt-3.3.4.sh b/config_files/qt-3.3.4.sh index 0e89f1b..747beb4 100755 --- a/config_files/qt-3.3.4.sh +++ b/config_files/qt-3.3.4.sh @@ -226,7 +226,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi export PRODUCT="qt-3.3.4" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/qt-3.3.6.sh b/config_files/qt-3.3.6.sh index cd8ee15..1c88a3d 100755 --- a/config_files/qt-3.3.6.sh +++ b/config_files/qt-3.3.6.sh @@ -211,7 +211,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qt" ; fi export PRODUCT="qt-3.3.6" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/qwt-0.4.1.sh b/config_files/qwt-0.4.1.sh index 5888e82..3114605 100755 --- a/config_files/qwt-0.4.1.sh +++ b/config_files/qwt-0.4.1.sh @@ -100,7 +100,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qwt" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qwt" ; fi export PRODUCT="qwt-0.4.1" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/qwt-4.2.0.sh b/config_files/qwt-4.2.0.sh index 05a2770..8d1093a 100755 --- a/config_files/qwt-4.2.0.sh +++ b/config_files/qwt-4.2.0.sh @@ -114,7 +114,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qwt" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="qwt" ; fi export PRODUCT="qwt-4.2.0" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/sip-4.1.sh b/config_files/sip-4.1.sh index 591c6b9..a75ea2e 100755 --- a/config_files/sip-4.1.sh +++ b/config_files/sip-4.1.sh @@ -145,7 +145,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="sip" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="sip" ; fi export PRODUCT="sip-4.1" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/sip-4.2.1.sh b/config_files/sip-4.2.1.sh index 6831da7..ea1b07c 100755 --- a/config_files/sip-4.2.1.sh +++ b/config_files/sip-4.2.1.sh @@ -164,7 +164,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="sip" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="sip" ; fi export PRODUCT="sip-4.2.1" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/tcltk-8.3.3.sh b/config_files/tcltk-8.3.3.sh index 9017cda..1f364af 100755 --- a/config_files/tcltk-8.3.3.sh +++ b/config_files/tcltk-8.3.3.sh @@ -223,7 +223,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi export PRODUCT="tcltk-8.3.3" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/tcltk-8.4.13.sh b/config_files/tcltk-8.4.13.sh index 08337d9..c67b6e6 100755 --- a/config_files/tcltk-8.4.13.sh +++ b/config_files/tcltk-8.4.13.sh @@ -237,7 +237,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi export PRODUCT="tcltk-8.4.13" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/tcltk-8.4.5.sh b/config_files/tcltk-8.4.5.sh index 4df628c..52f2d47 100755 --- a/config_files/tcltk-8.4.5.sh +++ b/config_files/tcltk-8.4.5.sh @@ -238,7 +238,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi export PRODUCT="tcltk-8.4.5" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/tcltk-8.4.7.sh b/config_files/tcltk-8.4.7.sh index d3e0103..a002720 100755 --- a/config_files/tcltk-8.4.7.sh +++ b/config_files/tcltk-8.4.7.sh @@ -235,7 +235,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="tcl" ; fi export PRODUCT="tcltk-8.4.7" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} diff --git a/config_files/xdata-0.5.53.sh b/config_files/xdata-0.5.53.sh index ed8bb20..45d575c 100755 --- a/config_files/xdata-0.5.53.sh +++ b/config_files/xdata-0.5.53.sh @@ -103,7 +103,7 @@ export INSTALL_WORK=$2; export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="xdata-0.5.53" ; fi +if [ $# -gt 5 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="xdata" ; fi export PRODUCT="xdata-0.5.53" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}