cwd='%s.git' % pkg)
def clonePackage(base, pkg):
+ path = '%s/%s' % (base, pkg)
+ pkg = os.path.basename(pkg)
+
if not os.path.isdir('%s.git' % pkg):
if os.path.isdir(pkg):
shutil.rmtree(pkg)
'-Aauthors',
'-q',
'--no-metadata',
- '%s/packages/%s' % (base, pkg)],
+ '%s' % path],
stdout=subprocess.PIPE)
# Then make the repository bare, because git-svn can't do this