summaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-14 02:07:21 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-20 02:08:29 (GMT)
commit955f5bc0b8a879ba5d1b9a65a31cc235c9fd9be8 (patch)
tree25765a1f5961a0cc2580a0bbd4a0c50aeef3fd18 /scripts/saveSample.sh.in
parentc0cc73cd6f3040ea08dc09384aa289540b3fb2a2 (diff)
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 701c660..4fa1c87 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|;' \