fix file name for openbsd

pull/314/head v2.3.1
Darien Raymond 2016-10-17 15:23:45 +02:00
parent 14996da74a
commit 9ae4611eac
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 8 additions and 0 deletions

View File

@ -100,6 +100,14 @@ func getSuffix(os GoOS, arch GoArch) string {
case Arm:
suffix = "-freebsd-arm"
}
case OpenBSD:
switch arch {
case X86:
suffix = "-openbsd-32"
case Amd64:
suffix = "-openbsd-64"
}
}
return suffix
}