summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgenconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/genconfig.py b/genconfig.py
index e298b14..bb3e6ff 100755
--- a/genconfig.py
+++ b/genconfig.py
@@ -105,6 +105,9 @@ only supported for backwards compatibility).
if args.config_out is not None:
kconf.write_config(args.config_out, save_old=False)
+ if args.sync_deps is not None:
+ kconf.sync_deps(args.sync_deps)
+
if args.file_list is not None:
with _open_write(args.file_list) as f:
for path in kconf.kconfig_filenames:
@@ -115,9 +118,6 @@ only supported for backwards compatibility).
for env_var in kconf.env_vars:
f.write("{}={}\n".format(env_var, os.environ[env_var]))
- if args.sync_deps is not None:
- kconf.sync_deps(args.sync_deps)
-
def _open_write(path):
# Python 2/3 compatibility. io.open() is available on both, but makes