]> source.dussan.org Git - gitblit.git/commitdiff
Remove GitBlit static singleton reference from localclone.groovy 84/84/1
authorJames Moger <james.moger@gitblit.com>
Fri, 23 May 2014 12:29:14 +0000 (08:29 -0400)
committerJames Moger <james.moger@gitblit.com>
Fri, 23 May 2014 12:29:14 +0000 (08:29 -0400)
src/main/distrib/data/groovy/localclone.groovy

index 49b7f8b39d82a41f73594e6f24307d16abbb0019..14ddbf9b393ebec120b99f9684ebe15836f9550c 100644 (file)
@@ -81,7 +81,7 @@ def includeSubmodules = true
 \r
 def repoName = repository.name\r
 def destinationFolder = new File(rootFolder, StringUtils.stripDotGit(repoName))\r
-def srcUrl = 'file://' + new File(GitBlit.getRepositoriesFolder(), repoName).absolutePath\r
+def srcUrl = 'file://' + new File(gitblit.getRepositoriesFolder(), repoName).absolutePath\r
 \r
 // delete any previous clone\r
 if (destinationFolder.exists()) {\r