From 462593f523c2b8635f9c36a5dddd4c0ef88cfd1f Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 31 Jan 2023 18:05:40 -0500 Subject: [PATCH] Fix funky whitespace for kopts --- openwrtbuilder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index c868242..4af66cd 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -706,7 +706,8 @@ fromSource() { # Write options to config seed file for opt in "${config_opts[@]}"; do debug "Writing $opt to $seed_file" - echo "$opt" | xargs args >> "$seed_file" + # Respect nested quotes (ex. in kopts) + echo "$opt" | xargs >> "$seed_file" done # TODO for now symlink clang for qosify