summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-04-29 19:08:21 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-04-29 14:08:21 -0400
commit8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139 (patch)
tree0a8817abd2512ca2ebccfd4e5dc08814933aad2b /contrib
parentccf4783980effa871abaecd70d0f983c5062a187 (diff)
downloadgitea-8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139.tar.gz
gitea-8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139.zip
Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pr/checkout.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go
index 9fe1eb573c..bc393da135 100644
--- a/contrib/pr/checkout.go
+++ b/contrib/pr/checkout.go
@@ -43,6 +43,7 @@ func runPR() {
if err != nil {
log.Fatal(err)
}
+ setting.SetCustomPathAndConf("", "")
setting.NewContext()
setting.RepoRootPath, err = ioutil.TempDir(os.TempDir(), "repos")