mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
git still needs to have abspath applied to dest
This commit is contained in:
committed by
Matt Clay
parent
dcbbd72cfd
commit
40948cfcc4
@@ -706,6 +706,7 @@ def main():
|
|||||||
if not dest and allow_clone:
|
if not dest and allow_clone:
|
||||||
module.fail_json(msg="the destination directory must be specified unless clone=no")
|
module.fail_json(msg="the destination directory must be specified unless clone=no")
|
||||||
elif dest:
|
elif dest:
|
||||||
|
dest = os.path.abspath(dest)
|
||||||
if bare:
|
if bare:
|
||||||
gitconfig = os.path.join(dest, 'config')
|
gitconfig = os.path.join(dest, 'config')
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user