From e46fbab8c62c29b88aafc6e52c7ac7dc97aa294b Mon Sep 17 00:00:00 2001 From: Evan Harvey Date: Fri, 11 Dec 2020 07:18:08 -0700 Subject: [PATCH] Revert "cmake/std/atdm: Add trace logic to load-env.sh" This reverts commit 97ff9c694626cc5dc9528ad1e7697000c2d8e9dc. --- cmake/std/atdm/load-env.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/cmake/std/atdm/load-env.sh b/cmake/std/atdm/load-env.sh index c359f8ab4156..4faf93466313 100644 --- a/cmake/std/atdm/load-env.sh +++ b/cmake/std/atdm/load-env.sh @@ -4,31 +4,6 @@ # ################################################################################ -env &> load-env.pre -export_log=$1.export.log -module_log=$1.module.log -> $1.export.log -> $1.module.log - -function export_trace() { - echo $@ >> $export_log - command export $@ -} - -alias export='export_trace' - -eval orig_"$(declare -f module)" - -function module() { - echo "====================================================================" >> $module_log - echo "module $@" >> $module_log - echo "====================================================================" >> $module_log - local tmp=$export_log - export_log=$module_log - orig_module $@ - export_log=$tmp -} - # Assert this script is sourced, not run! if [ "${BASH_SOURCE[0]}" == "${0}" ] ; then echo "This script '${0}' is being called. Instead, it must be sourced!" @@ -175,8 +150,5 @@ if [[ "${ATDM_CONFIG_INSTALL_PBP_RUNNER}" == "" ]] \ export ATDM_CONFIG_INSTALL_PBP_RUNNER="${ATDM_CONFIG_INSTALL_PBP_RUNNER_DEFAULT}" fi -env &> load-env.post -unalias export -unset -f module # NOTE: The ATDMDevEnvSettings.cmake module when processed will assert that # many of these vars are correctly set.