Vendor all dependencies
Uses godep to vendor dependencies. Godeps is not necessary during build, golang's new vendor support is used instead.
This commit is contained in:
parent
041de0e30c
commit
33f99c4fc1
325 changed files with 127217 additions and 40 deletions
15
vendor/github.com/godbus/dbus/homedir_dynamic.go
generated
vendored
Normal file
15
vendor/github.com/godbus/dbus/homedir_dynamic.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// +build !static_build
|
||||
|
||||
package dbus
|
||||
|
||||
import (
|
||||
"os/user"
|
||||
)
|
||||
|
||||
func lookupHomeDir() string {
|
||||
u, err := user.Current()
|
||||
if err != nil {
|
||||
return "/"
|
||||
}
|
||||
return u.HomeDir
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue