From e7ce7d9bd133ad2c36d1a18612fd01eea7282946 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 21 Feb 2016 09:41:59 -0500 Subject: [PATCH] print environment script infos --- candi.sh | 7 +++++++ deal.II-toolchain/packages/dealii.package | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/candi.sh b/candi.sh index 61719ca..bf728ee 100755 --- a/candi.sh +++ b/candi.sh @@ -1049,6 +1049,13 @@ for PACKAGE in ${PACKAGES[@]}; do TIMINGS="$TIMINGS"$"\n""$PACKAGE: ""$((TOC/1000000000)) s" done +# print information about enable.sh +echo +echo To export environment variables for all installed libraries execute: +echo +cecho ${GOOD} " source ${CONFIGURATION_PATH}/enable.sh" +echo + # Stop global timer TOC_GLOBAL="$(($(${DATE_CMD} +%s%N)-TIC_GLOBAL))" diff --git a/deal.II-toolchain/packages/dealii.package b/deal.II-toolchain/packages/dealii.package index dddfc8e..3303cc5 100644 --- a/deal.II-toolchain/packages/dealii.package +++ b/deal.II-toolchain/packages/dealii.package @@ -231,6 +231,11 @@ setenv DEAL_II_DIR ${INSTALL_PATH} echo " export DEAL_II_DIR=${INSTALL_PATH} " >> $CONFIG_FILE + + echo "If you are not using modules, execute the following command instead:" + echo + cecho ${GOOD} " source $CONFIG_FILE" + echo } -- 2.39.5