saveSample: Reset CT_LOCAL_TARBALLS_DIR to default

On Tuesday 14 October 2008 16:48:07 Nate Case wrote:
> Keep CT_LOCAL_TARBALLS_DIR at the default setting of ${HOME}/src so that
> we don't save irrelevant paths in the samples.

 /trunk/scripts/saveSample.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
This commit is contained in:
Yann E. MORIN" 2008-10-14 16:54:20 +00:00
parent 74c5579885
commit 9ec3651eff

View File

@ -45,6 +45,7 @@ fi
sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;' \ sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;' \
-e 's|^# CT_LOG_TO_FILE is not set$|CT_LOG_TO_FILE=y|;' \ -e 's|^# CT_LOG_TO_FILE is not set$|CT_LOG_TO_FILE=y|;' \
-e 's|^# CT_LOG_FILE_COMPRESS is not set$|CT_LOG_FILE_COMPRESS=y|;' \ -e 's|^# CT_LOG_FILE_COMPRESS is not set$|CT_LOG_FILE_COMPRESS=y|;' \
-e 's|^(CT_LOCAL_TARBALLS_DIR)=.*|\1="${HOME}/src"|;' \
<"${CT_TOP_DIR}/.config" \ <"${CT_TOP_DIR}/.config" \
>"${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config" >"${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config"