aboutsummaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-13 18:07:21 -0800
committerAlexey Neyman <stilor@att.net>2017-01-19 18:08:29 -0800
commit955f5bc0b8a879ba5d1b9a65a31cc235c9fd9be8 (patch)
tree25765a1f5961a0cc2580a0bbd4a0c50aeef3fd18 /scripts/saveSample.sh.in
parentc0cc73cd6f3040ea08dc09384aa289540b3fb2a2 (diff)
downloadcrosstool-ng-955f5bc0b8a879ba5d1b9a65a31cc235c9fd9be8.tar.gz
crosstool-ng-955f5bc0b8a879ba5d1b9a65a31cc235c9fd9be8.tar.bz2
crosstool-ng-955f5bc0b8a879ba5d1b9a65a31cc235c9fd9be8.zip
Get rid of .config.2.
Now handled by CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/saveSample.sh.in')
-rw-r--r--scripts/saveSample.sh.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/saveSample.sh.in b/scripts/saveSample.sh.in
index 701c660b..4fa1c876 100644
--- a/scripts/saveSample.sh.in
+++ b/scripts/saveSample.sh.in
@@ -40,9 +40,7 @@ esac
samp_dir="samples/${samp_name}"
mkdir -p "${samp_dir}"
-# Tweak the .config file
-# We need to be based on the real .config with kconfig's values,
-# not our mangled .config.2 with shell arrays
+# Tweak the .config file.
cp .config .defconfig
"${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|;' \