abs cleanup
This commit is contained in:
parent
31c6de1329
commit
b0b2f37d8a
1 changed files with 3 additions and 2 deletions
|
@ -21,10 +21,11 @@ def main(name: str, debug: bool):
|
|||
"""
|
||||
|
||||
# Common variables
|
||||
repo_root = Path(__file__).parent
|
||||
extended_globals = {
|
||||
"name": name,
|
||||
"caseconverter": caseconverter,
|
||||
"repo_root": Path(__file__).parent,
|
||||
"repo_root": repo_root,
|
||||
}
|
||||
|
||||
# Load templates
|
||||
|
@ -52,7 +53,7 @@ def main(name: str, debug: bool):
|
|||
|
||||
# Remove this script
|
||||
if not debug:
|
||||
Path("configure.py").unlink()
|
||||
(repo_root / "configure.py").unlink()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in a new issue