diff options
Diffstat (limited to 'debian.go')
| -rw-r--r-- | debian.go | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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" } |
