summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-22 17:30:37 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-22 17:30:37 (GMT)
commit727566c0cbd752c364ac1d80afc9879aaf6d13be (patch)
tree21b4673272014971f7f2c5d2f052cdbb992ff658 /scripts
parent1b00a301bd732441d6bf1ad5d7cc15c0e281b622 (diff)
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')
-rwxr-xr-xscripts/saveSample.sh10
1 files 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