Merge pull request #567 from Masterminds/fix/566
Fixes #566: Cross link errors vary within Go based on os/arch.
diff --git a/repo/installer.go b/repo/installer.go
index 018f8fc..324e4eb 100644
--- a/repo/installer.go
+++ b/repo/installer.go
@@ -361,7 +361,7 @@
// When there are different physical devices we cannot rename cross device.
// Fall back to manual copy.
- if err != nil && strings.Contains(err.Error(), "invalid cross-device link") {
+ if err != nil && strings.Contains(err.Error(), "cross-device link") {
msg.Debug("Cross link err, trying manual copy: %s", err)
err = gpath.CopyDir(vp, i.VendorPath())