scripts/saveSample.sh
changeset 130 9d98c59aa1c3
parent 115 95ca955e8a58
child 165 a291bfa17715
     1.1 --- a/scripts/saveSample.sh	Tue May 22 20:33:43 2007 +0000
     1.2 +++ b/scripts/saveSample.sh	Wed May 23 21:40:57 2007 +0000
     1.3 @@ -13,11 +13,6 @@
     1.4  exec 6>&1
     1.5  exec >/dev/null
     1.6  
     1.7 -# Override log level
     1.8 -unset CT_LOG_ERROR CT_LOG_WARN CT_LOG_EXTRA CT_LOG_DEBUG 
     1.9 -CT_LOG_INFO=y
    1.10 -CT_LOG_LEVEL_MAX="INFO"
    1.11 -
    1.12  # Parse the configuration file
    1.13  CT_TestOrAbort "Configuration file not found. Please create one." -f "${CT_TOP_DIR}/.config"
    1.14  . "${CT_TOP_DIR}/.config"
    1.15 @@ -29,6 +24,11 @@
    1.16  # re-parse them:
    1.17  . "${CT_TOP_DIR}/.config"
    1.18  
    1.19 +# Override log level
    1.20 +unset CT_LOG_ERROR CT_LOG_WARN CT_LOG_EXTRA CT_LOG_DEBUG 
    1.21 +CT_LOG_INFO=y
    1.22 +CT_LOG_LEVEL_MAX="INFO"
    1.23 +
    1.24  # Create the sample directory
    1.25  # In case it was manually made, add it to svn
    1.26  if [ -d "${CT_TOP_DIR}/samples/${CT_TARGET}" ]; then