From 727566c0cbd752c364ac1d80afc9879aaf6d13be Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 22 Jun 2008 17:30:37 +0000 Subject: Only priunt WARNings when saving the current configuration. Eye-candy in code. /trunk/scripts/saveSample.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh index 6bab764..a4b49ad 100755 --- a/scripts/saveSample.sh +++ b/scripts/saveSample.sh @@ -29,9 +29,9 @@ CT_DoBuildTargetTuple . "${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" +unset CT_LOG_ERROR CT_LOG_INFO CT_LOG_EXTRA CT_LOG_DEBUG LOG_ALL +CT_LOG_WARN=y +CT_LOG_LEVEL_MAX="WARN" # Create the sample directory if [ ! -d "${CT_TOP_DIR}/samples/${CT_TARGET}" ]; then @@ -39,8 +39,8 @@ if [ ! -d "${CT_TOP_DIR}/samples/${CT_TARGET}" ]; then fi # Save the crosstool-NG config file -sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;' \ - <"${CT_TOP_DIR}/.config" \ +sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;' \ + <"${CT_TOP_DIR}/.config" \ >"${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config" # Function to copy a file to the sample directory -- cgit v0.10.2-6-g49f6