summaryrefslogtreecommitdiff
path: root/debian.go
diff options
context:
space:
mode:
Diffstat (limited to 'debian.go')
-rw-r--r--debian.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/debian.go b/debian.go
index eff64b0..b01bed9 100644
--- a/debian.go
+++ b/debian.go
@@ -89,6 +89,12 @@ func buildDeb() {
}
func getOutdir(repo *gitpb.Repo) string {
+ if me.forge.Config.IsPrivate(repo.GetGoPath()) {
+ return "/home/jcarr/incoming-private"
+ }
+ if argv.Force {
+ return "/home/jcarr/incoming"
+ }
if repo.GetLastTag() != repo.GetMasterVersion() {
return "/home/jcarr/incoming-devel"
}
@@ -101,8 +107,5 @@ func getOutdir(repo *gitpb.Repo) string {
return "/home/jcarr/incoming-devel"
}
- if me.forge.Config.IsPrivate(repo.GetGoPath()) {
- return "/home/jcarr/incoming-private"
- }
return "/home/jcarr/incoming"
}