| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package main | 5 package main |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "strings" | 8 "strings" |
| 9 | 9 |
| 10 "github.com/luci/luci-go/common/errors" | 10 "github.com/luci/luci-go/common/errors" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 D("path", d).Err() | 74 D("path", d).Err() |
| 75 } | 75 } |
| 76 } | 76 } |
| 77 link := d.File(pkgComponents[len(pkgComponents)-1]) | 77 link := d.File(pkgComponents[len(pkgComponents)-1]) |
| 78 if err := link.SymlinkFrom(src, true); err != nil { | 78 if err := link.SymlinkFrom(src, true); err != nil { |
| 79 return errors.Annotate(err).Reason("failed to create GOP
ATH link").Err() | 79 return errors.Annotate(err).Reason("failed to create GOP
ATH link").Err() |
| 80 } | 80 } |
| 81 } | 81 } |
| 82 return nil | 82 return nil |
| 83 } | 83 } |
| OLD | NEW |