mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 15:52:23 +03:00
Ignore --compare in the "Automatically generated" comment
This commit is contained in:
parent
33e6271b65
commit
2595123e12
1 changed files with 1 additions and 0 deletions
|
@ -449,6 +449,7 @@ def ros2nix(args):
|
||||||
arg
|
arg
|
||||||
for arg in sys.argv[1:]
|
for arg in sys.argv[1:]
|
||||||
if not (arg.endswith("package.xml") and os.path.isfile(arg))
|
if not (arg.endswith("package.xml") and os.path.isfile(arg))
|
||||||
|
and arg != "--compare"
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
derivation_text = f"# Automatically generated by: {our_cmd_line}\n"
|
derivation_text = f"# Automatically generated by: {our_cmd_line}\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue