git still needs to have abspath applied to dest

This commit is contained in:
Toshio Kuratomi 2016-04-06 14:03:17 -07:00
parent 6970cc233f
commit ee90762388

View file

@ -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: