diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 12:43:01 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 12:43:01 +0100 |
commit | dd3c3fd8d745691b7da147208dfcd8dee2a49150 (patch) | |
tree | 7d1b8115d8ab2b116a926ad95bed0df626052262 | |
parent | eb00bd14df2072acf9f80912153476ea6e657b07 (diff) |
Improve formatting of env in the generated configuration.cc
-rw-r--r-- | src/configure.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configure.cc b/src/configure.cc index 68ce7eb..b4829ac 100644 --- a/src/configure.cc +++ b/src/configure.cc @@ -554,12 +554,12 @@ int regenerateCache(ctor::settings& settings, istr << "\"" << esc(arg) << "\","; } istr << "},\n"; - istr << " .env = {"; + istr << " .env = {\n"; for(const auto& e : env) { - istr << "{\"" << esc(e.first) << "\", \"" << esc(e.second) << "\"}, "; + istr << " {\"" << esc(e.first) << "\", \"" << esc(e.second) << "\"},\n"; } - istr << "},\n"; + istr << " },\n"; istr << " .tools = {\n"; if(!builddir.empty()) |