Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
AJ ONeal 693e61d7d4 address windows bug with incomplete args[0] paths 2019-08-10 15:54:56 -06:00
AJ ONeal 258623ae44 update generated files 2019-08-10 15:54:34 -06:00
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -6,6 +6,7 @@ import (
"io/ioutil" "io/ioutil"
"log" "log"
"os" "os"
"os/exec"
"path/filepath" "path/filepath"
"strings" "strings"
@ -288,6 +289,13 @@ func installServiceman(c *service.Service) ([]string, error) {
if nil != err { if nil != err {
return nil, err return nil, err
} }
// Note: self may be the short name, in which case
// we should just use whatever is closest in the path
// exec.LookPath will handle this correctly
self, err = exec.LookPath(self)
if nil != err {
return nil, err
}
bin, err := ioutil.ReadFile(self) bin, err := ioutil.ReadFile(self)
if nil != err { if nil != err {
return nil, err return nil, err

Wyświetl plik

@ -1,5 +1,5 @@
// Code generated by fileb0x at "2019-08-05 10:04:21.752835 -0600 MDT m=+0.004628888" from config file "b0x.toml" DO NOT EDIT. // Code generated by fileb0x at "2019-08-05 10:09:44.205977 -0600 MDT m=+0.003863161" from config file "b0x.toml" DO NOT EDIT.
// modification hash(e0dad2aef9534d24be436f8d9dd5e9cc.acdb557394f98d3c09c0bb4d4b9142f8) // modification hash(25df1985b6a67dc5b8f5c9281219965c.acdb557394f98d3c09c0bb4d4b9142f8)
package static package static