resolve paths to absolute ones
This commit is contained in:
parent
b5160f1816
commit
a10709dd3b
1 changed files with 5 additions and 2 deletions
7
build.py
7
build.py
|
@ -93,8 +93,11 @@ def main():
|
||||||
action='store_true',
|
action='store_true',
|
||||||
dest='overwrite_existing_files'
|
dest='overwrite_existing_files'
|
||||||
)
|
)
|
||||||
args = parser.parse_args()
|
args = vars(parser.parse_args())
|
||||||
build(**vars(args))
|
for arg in args.keys():
|
||||||
|
if type(args[arg]) == pathlib.PosixPath:
|
||||||
|
args[arg] = args[arg].resolve()
|
||||||
|
build(**args)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue