mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-21 00:22:54 +00:00
samples: fix saving samples
Use a correct sed pattern when setting CT_PREFIX_DIR
This commit is contained in:
@ -69,7 +69,7 @@ samp_dir="samples/${samp_name}"
|
|||||||
mkdir -p "${samp_dir}"
|
mkdir -p "${samp_dir}"
|
||||||
|
|
||||||
# Save the crosstool-NG config file
|
# 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_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"|;' \
|
-e 's|^(CT_LOCAL_TARBALLS_DIR)=.*|\1="${HOME}/src"|;' \
|
||||||
|
Reference in New Issue
Block a user