diff --git a/vendor/github.com/hashicorp/go-getter/detect_file.go b/vendor/github.com/hashicorp/go-getter/detect_file.go index ddeedc1dd..756ea43f8 100644 --- a/vendor/github.com/hashicorp/go-getter/detect_file.go +++ b/vendor/github.com/hashicorp/go-getter/detect_file.go @@ -36,6 +36,13 @@ func (d *FileDetector) Detect(src, pwd string) (string, bool, error) { if err != nil { return "", true, err } + + // The symlink itself might be a relative path, so we have to + // resolve this to have a correctly rooted URL. + pwd, err = filepath.Abs(pwd) + if err != nil { + return "", true, err + } } } diff --git a/vendor/vendor.json b/vendor/vendor.json index d128f3ca7..a694d6f52 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1132,10 +1132,10 @@ "revision": "875fb671b3ddc66f8e2f0acc33829c8cb989a38d" }, { - "checksumSHA1": "Qw7bz5IlDicreRjfyiB8QBJi0Fc=", + "checksumSHA1": "aOWXSbYAdK3PBSMNFiK2ze4lPEc=", "path": "github.com/hashicorp/go-getter", - "revision": "0eb633db32e432fabba9eca8fa21192fab2b96be", - "revisionTime": "2016-08-30T22:50:22Z" + "revision": "2fbd997432e72fe36060c8f07ec1eaf98d098177", + "revisionTime": "2016-09-12T21:42:52Z" }, { "path": "github.com/hashicorp/go-getter/helper/url",