|
|
@@ -9,7 +9,7 @@ temporary = None
|
|
|
for index, value in enumerate(args):
|
|
|
path = Path(value)
|
|
|
if path.suffix == ".ys" and path.is_file():
|
|
|
- temporary = path.with_name(path.name + ".compat")
|
|
|
+ temporary = path.with_name(path.stem + ".compat.ys")
|
|
|
temporary.write_text(path.read_text(encoding="utf-8").replace("read_ilang", "read_rtlil"), encoding="utf-8")
|
|
|
args[index] = str(temporary)
|
|
|
break
|