Commit 95b90cf7 by Michael DeHaan

Merge pull request #3454 from nyetsche/abspath

set checkout destination directory to be full path
parents 9990688f b37ecb05
...@@ -116,6 +116,8 @@ def main(args): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment