diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-04-06 14:03:17 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2016-04-06 14:03:17 -0700 |
commit | ee907623888edbe6db99a870285817c51e904cad (patch) | |
tree | 422e34155c96e2603043ab6aa1d75ede8c3432c9 /source_control/git.py | |
parent | 6970cc233fdb661fc4d1838df1f91600182abc4a (diff) | |
download | ansible-modules-core-ee907623888edbe6db99a870285817c51e904cad.tar.gz |
git still needs to have abspath applied to dest
Diffstat (limited to 'source_control/git.py')
-rw-r--r-- | source_control/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source_control/git.py b/source_control/git.py index 828017ec..3bccf877 100644 --- a/source_control/git.py +++ b/source_control/git.py @@ -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: |