mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 21:33:08 +00:00
samples: fix saving samples
Use a correct sed pattern when setting CT_PREFIX_DIR
This commit is contained in:
parent
26b3a17f58
commit
6b37673b64
@ -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"|;' \
|
||||
|
Loading…
Reference in New Issue
Block a user