summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/kardianos
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/kardianos')
-rw-r--r--vendor/github.com/kardianos/osext/osext_go18.go2
-rw-r--r--vendor/github.com/kardianos/osext/osext_procfs.go4
-rw-r--r--vendor/github.com/kardianos/osext/osext_sysctl.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/kardianos/osext/osext_go18.go b/vendor/github.com/kardianos/osext/osext_go18.go
index 7065a5ff..009d8a92 100644
--- a/vendor/github.com/kardianos/osext/osext_go18.go
+++ b/vendor/github.com/kardianos/osext/osext_go18.go
@@ -1,4 +1,4 @@
-//+build go1.8
+//+build go1.8,!openbsd
package osext
diff --git a/vendor/github.com/kardianos/osext/osext_procfs.go b/vendor/github.com/kardianos/osext/osext_procfs.go
index 7b0debbb..e1f16f88 100644
--- a/vendor/github.com/kardianos/osext/osext_procfs.go
+++ b/vendor/github.com/kardianos/osext/osext_procfs.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build !go1.8,linux !go1.8,netbsd !go1.8,solaris !go1.8,dragonfly
+// +build !go1.8,android !go1.8,linux !go1.8,netbsd !go1.8,solaris !go1.8,dragonfly
package osext
@@ -16,7 +16,7 @@ import (
func executable() (string, error) {
switch runtime.GOOS {
- case "linux":
+ case "linux", "android":
const deletedTag = " (deleted)"
execpath, err := os.Readlink("/proc/self/exe")
if err != nil {
diff --git a/vendor/github.com/kardianos/osext/osext_sysctl.go b/vendor/github.com/kardianos/osext/osext_sysctl.go
index 579f224a..33cee252 100644
--- a/vendor/github.com/kardianos/osext/osext_sysctl.go
+++ b/vendor/github.com/kardianos/osext/osext_sysctl.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build !go1.8,darwin !go1.8,freebsd !go1.8,openbsd
+// +build !go1.8,darwin !go1.8,freebsd openbsd
package osext