mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
git still needs to have abspath applied to dest
This commit is contained in:
parent
dcbbd72cfd
commit
40948cfcc4
1 changed files with 1 additions and 0 deletions
|
@ -706,6 +706,7 @@ def main():
|
|||
if not dest and allow_clone:
|
||||
module.fail_json(msg="the destination directory must be specified unless clone=no")
|
||||
elif dest:
|
||||
dest = os.path.abspath(dest)
|
||||
if bare:
|
||||
gitconfig = os.path.join(dest, 'config')
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue