From 334e45273d26a197394a5adf39aa7605363589b7 Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 27 Jul 2007 13:28:59 +0000 Subject: [PATCH] Common script instead of separate BIN and SRC scripts is used now. --- config_files/CALCULATOR_BIN.sh | 121 ---------------------------- config_files/CALCULATOR_SRC.sh | 107 ------------------------ config_files/COMPONENT_BIN.sh | 115 -------------------------- config_files/COMPONENT_SRC.sh | 107 ------------------------ config_files/GEOM_BIN.sh | 113 -------------------------- config_files/GEOM_SRC.sh | 107 ------------------------ config_files/GHS3DPLUGIN_BIN.sh | 114 -------------------------- config_files/GHS3DPLUGIN_SRC.sh | 107 ------------------------ config_files/GUI_BIN.sh | 113 -------------------------- config_files/GUI_SRC.sh | 107 ------------------------ config_files/HELLO_BIN.sh | 118 --------------------------- config_files/HELLO_SRC.sh | 107 ------------------------ config_files/KERNEL_BIN.sh | 134 ------------------------------- config_files/KERNEL_SRC.sh | 117 --------------------------- config_files/LIGHT_BIN.sh | 108 ------------------------- config_files/LIGHT_SRC.sh | 107 ------------------------ config_files/MED_BIN.sh | 113 -------------------------- config_files/MED_SRC.sh | 107 ------------------------ config_files/NETGENPLUGIN_BIN.sh | 112 -------------------------- config_files/NETGENPLUGIN_SRC.sh | 107 ------------------------ config_files/PYCALCULATOR_BIN.sh | 111 ------------------------- config_files/PYCALCULATOR_SRC.sh | 107 ------------------------ config_files/PYHELLO_BIN.sh | 115 -------------------------- config_files/PYHELLO_SRC.sh | 107 ------------------------ config_files/SMESH_BIN.sh | 113 -------------------------- config_files/SMESH_SRC.sh | 107 ------------------------ config_files/SUPERV_BIN.sh | 113 -------------------------- config_files/SUPERV_SRC.sh | 107 ------------------------ config_files/VISU_BIN.sh | 113 -------------------------- config_files/VISU_SRC.sh | 107 ------------------------ 30 files changed, 3341 deletions(-) delete mode 100755 config_files/CALCULATOR_BIN.sh delete mode 100755 config_files/CALCULATOR_SRC.sh delete mode 100755 config_files/COMPONENT_BIN.sh delete mode 100755 config_files/COMPONENT_SRC.sh delete mode 100755 config_files/GEOM_BIN.sh delete mode 100755 config_files/GEOM_SRC.sh delete mode 100755 config_files/GHS3DPLUGIN_BIN.sh delete mode 100755 config_files/GHS3DPLUGIN_SRC.sh delete mode 100755 config_files/GUI_BIN.sh delete mode 100755 config_files/GUI_SRC.sh delete mode 100755 config_files/HELLO_BIN.sh delete mode 100755 config_files/HELLO_SRC.sh delete mode 100755 config_files/KERNEL_BIN.sh delete mode 100755 config_files/KERNEL_SRC.sh delete mode 100755 config_files/LIGHT_BIN.sh delete mode 100755 config_files/LIGHT_SRC.sh delete mode 100755 config_files/MED_BIN.sh delete mode 100755 config_files/MED_SRC.sh delete mode 100755 config_files/NETGENPLUGIN_BIN.sh delete mode 100755 config_files/NETGENPLUGIN_SRC.sh delete mode 100755 config_files/PYCALCULATOR_BIN.sh delete mode 100755 config_files/PYCALCULATOR_SRC.sh delete mode 100755 config_files/PYHELLO_BIN.sh delete mode 100755 config_files/PYHELLO_SRC.sh delete mode 100755 config_files/SMESH_BIN.sh delete mode 100755 config_files/SMESH_SRC.sh delete mode 100755 config_files/SUPERV_BIN.sh delete mode 100755 config_files/SUPERV_SRC.sh delete mode 100755 config_files/VISU_BIN.sh delete mode 100755 config_files/VISU_SRC.sh diff --git a/config_files/CALCULATOR_BIN.sh b/config_files/CALCULATOR_BIN.sh deleted file mode 100755 index 820dd22..0000000 --- a/config_files/CALCULATOR_BIN.sh +++ /dev/null @@ -1,121 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : CALCULATOR_BIN.sh -# Created : Thu Dec 18 12:01:00 2002 -# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) -# Project : SALOME -# Module : Installation Wizard -# Copyright : 2002-2007 CEA -# -# This script is the part of the SALOME installation procedure. -# -#################################################################################### - -VERSION="3.2.6" - -check_version(){ -if [ -n "${CALCULATOR_ROOT_DIR}" ]; then - check_lib_version VERSION ${CALCULATOR_ROOT_DIR}/bin/salome - if [ "$?" -eq "0" ]; then - ver=`cat ${CALCULATOR_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` - if [ "$ver" = "${VERSION}" ]; then - return 0 - fi - fi -fi -return 1 -} - -print_env(){ - -if test `uname -m` = "x86_64" ; then -export LIB_PREFIX=64 -else -export LIB_PREFIX="" -fi - -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < _runAppli -sed -e "s%export CALCULATOR_ROOT_DIR=.*%export CALCULATOR_ROOT_DIR=${CALCULATOR_ROOT_DIR}%g" _runAppli > runAppli -rm -f _runAppli -chmod a+x runAppli - -print_env -} - -export PROCEDURE=$1; -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="CALCULATORbin" ; fi -export PRODUCT="CALCULATOR_${VERSION}" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE diff --git a/config_files/CALCULATOR_SRC.sh b/config_files/CALCULATOR_SRC.sh deleted file mode 100755 index a4de58f..0000000 --- a/config_files/CALCULATOR_SRC.sh +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : CALCULATOR_SRC.sh -# Created : Thu Dec 18 12:01:00 2002 -# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) -# Project : SALOME -# Module : Installation Wizard -# Copyright : 2002-2007 CEA -# -# This script is the part of the SALOME installation procedure. -# -#################################################################################### - -VERSION="3.2.6" - -check_version(){ -if [ -n "${CALCULATOR_SRC_DIR}" ]; then - if [ -f ${CALCULATOR_SRC_DIR}/configure.in.base ]; then - ver=`grep -E "^VERSION=" ${CALCULATOR_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "${VERSION}" ]; then - return 0 - fi - fi -fi -return 1 -} - -print_env(){ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < _runAppli -sed -e "s%export HELLO_ROOT_DIR=.*%export HELLO_ROOT_DIR=${HELLO_ROOT_DIR}%g" _runAppli > runAppli -rm -f _runAppli -chmod a+x runAppli - -print_env -} - -export PROCEDURE=$1; -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="HELLObin" ; fi -export PRODUCT="HELLO_${VERSION}" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE diff --git a/config_files/HELLO_SRC.sh b/config_files/HELLO_SRC.sh deleted file mode 100755 index 745e7af..0000000 --- a/config_files/HELLO_SRC.sh +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : HELLO_SRC.sh -# Created : Thu Dec 18 12:01:00 2002 -# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) -# Project : SALOME -# Module : Installation Wizard -# Copyright : 2002-2007 CEA -# -# This script is the part of the SALOME installation procedure. -# -#################################################################################### - -VERSION="3.2.6" - -check_version(){ -if [ -n "${HELLO_SRC_DIR}" ]; then - if [ -f ${HELLO_SRC_DIR}/configure.in.base ]; then - ver=`grep -E "^VERSION=" ${HELLO_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "${VERSION}" ]; then - return 0 - fi - fi -fi -return 1 -} - -print_env(){ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < _runAppli -sed -e "s%export PYHELLO_ROOT_DIR=.*%export PYHELLO_ROOT_DIR=${PYHELLO_ROOT_DIR}%g" _runAppli > runAppli -chmod a+x runAppli - -print_env -} - -export PROCEDURE=$1; -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="PYHELLObin" ; fi -export PRODUCT="PYHELLO_${VERSION}" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE diff --git a/config_files/PYHELLO_SRC.sh b/config_files/PYHELLO_SRC.sh deleted file mode 100755 index b7218a2..0000000 --- a/config_files/PYHELLO_SRC.sh +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : PYHELLO_SRC.sh -# Created : Thu Dec 18 12:01:00 2002 -# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) -# Project : SALOME -# Module : Installation Wizard -# Copyright : 2002-2007 CEA -# -# This script is the part of the SALOME installation procedure. -# -#################################################################################### - -VERSION="3.2.6" - -check_version(){ -if [ -n "${PYHELLO_SRC_DIR}" ]; then - if [ -f ${PYHELLO_SRC_DIR}/configure.in.base ]; then - ver=`grep -E "^VERSION=" ${PYHELLO_SRC_DIR}/configure.in.base | awk -F= '{print $NF}' | tr -d '[:space:]' ` - if [ "$ver" = "${VERSION}" ]; then - return 0 - fi - fi -fi -return 1 -} - -print_env(){ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <