From 58250c992634c624e3155a327ad32e7041d762f0 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Tue, 17 Apr 2007 09:07:14 +0000 Subject: [PATCH] Small correction --- config_files/metis-4.0.sh | 11 ++++++++++- config_files/scotch-4.0.sh | 10 ++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/config_files/metis-4.0.sh b/config_files/metis-4.0.sh index 72715d0..d97ec72 100755 --- a/config_files/metis-4.0.sh +++ b/config_files/metis-4.0.sh @@ -32,7 +32,15 @@ try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE} return $? } -# looks for the native product and collects it's environment (used by make_env()) +install_source() +{ +make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} +source ${INSTALL_WORK}/$SHRC + +check_jb tar xfz ${SOURCE_DIR}/metis-4.0.tar.gz -C ${INSTALL_ROOT} + +print_env +} install_binary() { @@ -44,6 +52,7 @@ check_jb tar xfz ${SOURCE_DIR}/metis-4.0.tar.gz -C ${INSTALL_ROOT} print_env } + export PROCEDURE=$1; export INSTALL_WORK=$2; export SOURCE_DIR=$3; diff --git a/config_files/scotch-4.0.sh b/config_files/scotch-4.0.sh index ef402f2..66a61c0 100755 --- a/config_files/scotch-4.0.sh +++ b/config_files/scotch-4.0.sh @@ -33,6 +33,16 @@ try_existing ${PRODUCT_DIR} ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE} return $? } +install_source() +{ +make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} +source ${INSTALL_WORK}/$SHRC + +check_jb tar xfz ${SOURCE_DIR}/scotch-4.0.tar.gz -C ${INSTALL_ROOT} + +print_env +} + install_binary() { make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} -- 2.39.2