summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-05-14 16:20:35 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-05-14 11:20:35 -0400
commite55c874dd2a6162a374a9fac46c55db57bd17c5f (patch)
tree0af648181cfc9c59aededfe0b56de21e79baf1dc /contrib
parent488d34691ad79bae13320f3e831a7ff46c245a89 (diff)
downloadgitea-e55c874dd2a6162a374a9fac46c55db57bd17c5f.tar.gz
gitea-e55c874dd2a6162a374a9fac46c55db57bd17c5f.zip
Add work path CLI option (#6922)
Makes it possible to set the work path as a CLI option instead of relying on environment variables which are somewhat opaque
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pr/checkout.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go
index 607a503189..7af27c2a9e 100644
--- a/contrib/pr/checkout.go
+++ b/contrib/pr/checkout.go
@@ -43,7 +43,7 @@ func runPR() {
if err != nil {
log.Fatal(err)
}
- setting.SetCustomPathAndConf("", "")
+ setting.SetCustomPathAndConf("", "", "")
setting.NewContext()
setting.RepoRootPath, err = ioutil.TempDir(os.TempDir(), "repos")