1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Last-Update: 2018-07-05
Forwarded: https://github.com/GeertJohan/go.rice/issues/122
Bug-Upstream: https://github.com/GeertJohan/go.rice/issues/122
Author: Dmitry Smirnov <onlyjob@debian.org>
Description: removed "kardianos/osext" which is obsolete on go-1.8+
--- a/appended.go
+++ b/appended.go
@@ -8,9 +8,8 @@
"strings"
"time"
"github.com/daaku/go.zipexe"
- "github.com/kardianos/osext"
)
// appendedBox defines an appended box
type appendedBox struct {
@@ -30,9 +29,9 @@
var appendedBoxes = make(map[string]*appendedBox)
func init() {
// find if exec is appended
- thisFile, err := osext.Executable()
+ thisFile, err := os.Executable()
if err != nil {
return // not appended or cant find self executable
}
closer, rd, err := zipexe.OpenCloser(thisFile)
|