Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gitlab-cloner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
namibsun
python
gitlab-cloner
Commits
f0239345
Commit
f0239345
authored
Oct 14, 2017
by
Hermann Krumrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use absoulte path for destination
parent
41fcd9a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gitlab-cloner.py
gitlab-cloner.py
+2
-0
No files found.
gitlab-cloner.py
View file @
f0239345
...
...
@@ -47,6 +47,8 @@ def clone_repos(projects, destination):
Clones the Repositories to the destination directory
"""
destination
=
os
.
path
.
abspath
(
destination
)
if
not
os
.
path
.
exists
(
destination
):
os
.
makedirs
(
destination
)
if
not
os
.
path
.
isdir
(
destination
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment