diff --git a/locker.py b/locker.py index d3d2c13..36d69a0 100755 --- a/locker.py +++ b/locker.py @@ -16,7 +16,7 @@ result = {'maven': {}, 'git': {}} -mavenDir = args.home.joinpath('.m2', 'repository') +mavenDir = args.home.joinpath('.m2', 'repository').resolve() if mavenDir.exists(): for f in mavenDir.rglob('*'): @@ -27,7 +27,7 @@ sha256_hash = sha256(f.read_bytes()).hexdigest() result['maven'][file] = sha256_hash -gitlibsDir = args.home.joinpath('.gitlibs') +gitlibsDir = args.home.joinpath('.gitlibs').resolve() if gitlibsDir.exists(): for namespace_path in gitlibsDir.joinpath('libs').iterdir():