diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-23 19:07:54 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-23 19:07:54 +0000 |
commit | af0f7c4d335d132fa93d445586d09a482bec5b0a (patch) | |
tree | 43f461d588af3eb5d1cf7e551c72777ea402d4b3 | |
parent | 13b6242fb61f2de5dad9991add61ce185e42656c (diff) | |
download | crosstool-ng-af0f7c4d335d132fa93d445586d09a482bec5b0a.tar.gz crosstool-ng-af0f7c4d335d132fa93d445586d09a482bec5b0a.tar.bz2 crosstool-ng-af0f7c4d335d132fa93d445586d09a482bec5b0a.zip |
Correctly handle the log level overide in scripts/saveSample.sh.
Little eye candy in scripts/showSamples.sh.
-rwxr-xr-x | scripts/saveSample.sh | 10 | ||||
-rwxr-xr-x | scripts/showSamples.sh | 4 |
2 files changed, 7 insertions, 7 deletions
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 diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh index b4553d8a..62a18f89 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -14,8 +14,8 @@ dump_single_sample() { printf " %-*s" ${width} "${sample}" [ -f "${CT_TOP_DIR}/samples/${sample}/broken" ] && printf " (broken)" echo - echo " | ${CT_KERNEL}-${CT_KERNEL_VERSION} binutils-${CT_BINUTILS_VERSION}" - echo " \ ${CT_CC}-${CT_CC_VERSION} ${CT_LIBC}-${CT_LIBC_VERSION}" + echo " \ ${CT_KERNEL}-${CT_KERNEL_VERSION} binutils-${CT_BINUTILS_VERSION}" + echo " \_ ${CT_CC}-${CT_CC_VERSION} ${CT_LIBC}-${CT_LIBC_VERSION}" } # Get largest sample width |