From af0f7c4d335d132fa93d445586d09a482bec5b0a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 23 May 2007 19:07:54 +0000 Subject: Correctly handle the log level overide in scripts/saveSample.sh. Little eye candy in scripts/showSamples.sh. --- scripts/saveSample.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/saveSample.sh') diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh index e7435500..3d58bd99 100755 --- a/scripts/saveSample.sh +++ b/scripts/saveSample.sh @@ -13,11 +13,6 @@ exec 6>&1 exec >/dev/null -# Override log level -unset CT_LOG_ERROR CT_LOG_WARN CT_LOG_EXTRA CT_LOG_DEBUG -CT_LOG_INFO=y -CT_LOG_LEVEL_MAX="INFO" - # Parse the configuration file CT_TestOrAbort "Configuration file not found. Please create one." -f "${CT_TOP_DIR}/.config" . "${CT_TOP_DIR}/.config" @@ -29,6 +24,11 @@ CT_DoBuildTargetTriplet # re-parse them: . "${CT_TOP_DIR}/.config" +# Override log level +unset CT_LOG_ERROR CT_LOG_WARN CT_LOG_EXTRA CT_LOG_DEBUG +CT_LOG_INFO=y +CT_LOG_LEVEL_MAX="INFO" + # Create the sample directory # In case it was manually made, add it to svn if [ -d "${CT_TOP_DIR}/samples/${CT_TARGET}" ]; then -- cgit v1.2.3