summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/reproducible_lede_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh
index 88ce45a7..e71494cf 100644
--- a/bin/reproducible_lede_common.sh
+++ b/bin/reproducible_lede_common.sh
@@ -230,7 +230,7 @@ openwrt_apply_variations() {
openwrt_config() {
CONFIG=$1
- printf "$CONFIG" > .config
+ printf "$CONFIG\n" | grep '^[^ ]' > .config
printf "CONFIG_ALL=y\n" >> .config
printf "CONFIG_AUTOREMOVE=y\n" >> .config
printf "CONFIG_CLEAN_IPKG=y\n" >> .config