Commit f0239345 authored by Hermann Krumrey's avatar Hermann Krumrey
Browse files

use absoulte path for destination

parent 41fcd9a5
Loading
Loading
Loading
Loading
+2 −0
Changes for gitlab-cloner.py: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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):