diff --git a/moulin/build_generator.py b/moulin/build_generator.py index fcf6737..e6dcab4 100644 --- a/moulin/build_generator.py +++ b/moulin/build_generator.py @@ -104,7 +104,7 @@ def _gen_regenerate(conf_file_name, generator: ninja_syntax.Writer): args = " ".join(sys.argv[1:]) generator.rule("regenerate", command=f"{this_script} {args}", generator=1) generator.newline() - generator.build(BUILD_FILENAME, "regenerate", [this_script, conf_file_name]) + generator.build(BUILD_FILENAME, "regenerate", conf_file_name) generator.newline()