CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci

pull/5182/head
Roland Dobai 2020-04-22 15:29:06 +02:00
rodzic c2e068f0e4
commit 14978aef70
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -128,6 +128,9 @@ build_example () {
# If sdkconfig.ci file is present, append it to sdkconfig.defaults,
# replacing environment variables
if [[ -f "$SDKCONFIG_DEFAULTS_CI" ]]; then
# Make sure that the last line of sdkconfig.defaults is terminated. Otherwise, the first line
# of $SDKCONFIG_DEFAULTS_CI will be joined with the last one of sdkconfig.defaults.
echo >> sdkconfig.defaults
cat $SDKCONFIG_DEFAULTS_CI | $IDF_PATH/tools/ci/envsubst.py >> sdkconfig.defaults
fi