mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Merge pull request #3454 from nyetsche/abspath
set checkout destination directory to be full path
This commit is contained in:
commit
95b90cf71a
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,8 @@ def main(args):
|
||||||
parser.error("Missing required directory argument")
|
parser.error("Missing required directory argument")
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
options.dest = os.path.abspath(options.dest)
|
||||||
|
|
||||||
if not options.url:
|
if not options.url:
|
||||||
parser.error("URL for git repo not specified, use -h for help")
|
parser.error("URL for git repo not specified, use -h for help")
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue