samples: fix saving samples

Use a correct sed pattern when setting CT_PREFIX_DIR
This commit is contained in:
Yann E. MORIN" 2009-09-12 00:10:38 +02:00
parent 26b3a17f58
commit 6b37673b64

View File

@ -69,7 +69,7 @@ samp_dir="samples/${samp_name}"
mkdir -p "${samp_dir}"
# Save the crosstool-NG config file
"${sed}" -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${samp_name}"|;' \
"${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_FILE_COMPRESS is not set$|CT_LOG_FILE_COMPRESS=y|;' \
-e 's|^(CT_LOCAL_TARBALLS_DIR)=.*|\1="${HOME}/src"|;' \