diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-22 17:30:37 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-22 17:30:37 +0000 |
commit | 727566c0cbd752c364ac1d80afc9879aaf6d13be (patch) | |
tree | 21b4673272014971f7f2c5d2f052cdbb992ff658 /scripts/saveSample.sh | |
parent | 1b00a301bd732441d6bf1ad5d7cc15c0e281b622 (diff) | |
download | crosstool-ng-727566c0cbd752c364ac1d80afc9879aaf6d13be.tar.gz crosstool-ng-727566c0cbd752c364ac1d80afc9879aaf6d13be.tar.bz2 crosstool-ng-727566c0cbd752c364ac1d80afc9879aaf6d13be.zip |
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(-)
Diffstat (limited to 'scripts/saveSample.sh')
-rwxr-xr-x | scripts/saveSample.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh index 6bab7643..a4b49ad5 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 |