scripts/saveSample.sh
changeset 735 e9cbd9d6e737
parent 682 44fed7e2a22c
child 855 71dab47a942e
     1.1 --- a/scripts/saveSample.sh	Fri Jul 18 15:18:09 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