From: vsr Date: Wed, 21 Oct 2009 20:18:52 +0000 (+0000) Subject: Minor improvements X-Git-Tag: V5_1_3~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fb0a34757ac0773bebbfd5969f3179a9efdc2be4;p=tools%2Finstall.git Minor improvements --- diff --git a/config_files/expat-2.0.1.sh b/config_files/expat-2.0.1.sh index 8fd8eec..ee90ceb 100755 --- a/config_files/expat-2.0.1.sh +++ b/config_files/expat-2.0.1.sh @@ -12,6 +12,11 @@ # #################################################################################### +# +# expat version +# +EXPAT_VERSION=2.0.1 + check_version(){ # It is not necessary to check version! return 0 @@ -118,7 +123,7 @@ export INSTALL_PRODUCTS=$7; shift REMOVE_SRC_TMP=$8; test $# == 10 && shift && SINGLE_DIR=$9 -export PRODUCT="expat-2.0.1" +export PRODUCT="expat-${EXPAT_VERSION}" export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC diff --git a/config_files/ghs3d-4.0.sh b/config_files/ghs3d-4.0.sh index 385d906..9d5992d 100755 --- a/config_files/ghs3d-4.0.sh +++ b/config_files/ghs3d-4.0.sh @@ -12,6 +12,11 @@ # #################################################################################### +# +# ghs3d version +# +GHS3D_VERSION=4.0 + check_version(){ # No way to check version! return 0 @@ -21,7 +26,7 @@ print_env_bin() { cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <