When saving a sample, overide log file config:
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 27 10:54:14 2008 +0000 (2008-07-27)
changeset 735e9cbd9d6e737
parent 734 9416a82ef7b4
child 736 f2369145e8be
When saving a sample, overide log file config:
- do log to a file
- do compress the log file

/trunk/scripts/saveSample.sh | 6 4 2 0 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
scripts/saveSample.sh
     1.1 --- a/scripts/saveSample.sh	Sat Jul 26 15:29:51 2008 +0000
     1.2 +++ b/scripts/saveSample.sh	Sun Jul 27 10:54:14 2008 +0000
     1.3 @@ -42,8 +42,10 @@
     1.4  fi
     1.5  
     1.6  # Save the crosstool-NG config file
     1.7 -sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;'   \
     1.8 -    <"${CT_TOP_DIR}/.config"                                            \
     1.9 +sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;'       \
    1.10 +       -e 's|^# CT_LOG_TO_FILE is not set$|CT_LOG_TO_FILE=y|;'              \
    1.11 +       -e 's|^# CT_LOG_FILE_COMPRESS is not set$|CT_LOG_FILE_COMPRESS=y|;'  \
    1.12 +    <"${CT_TOP_DIR}/.config"                                                \
    1.13      >"${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config"
    1.14  
    1.15  # Function to copy a file to the sample directory