diff options
Diffstat (limited to 'update-license.go')
-rw-r--r-- | update-license.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-license.go b/update-license.go index 832a94712..e55732a53 100644 --- a/update-license.go +++ b/update-license.go @@ -40,7 +40,7 @@ var ( extensions = []string{".go", ".js", ".qml"} // paths with any of these prefixes will be skipped - skipPrefixes = []string{"tests/files/", "cmd/mist/assets/ext/", "cmd/mist/assets/muted/"} + skipPrefixes = []string{"Godeps/", "tests/files/", "cmd/mist/assets/ext/", "cmd/mist/assets/muted/"} // paths with this prefix are licensed as GPL. all other files are LGPL. gplPrefixes = []string{"cmd/"} @@ -190,7 +190,7 @@ func fileInfo(file string) (*info, error) { break } } - cmd := exec.Command("git", "log", "--follow", "--find-copies", "--pretty=format:%aI | %aN <%aE>", "--", file) + cmd := exec.Command("git", "log", "--follow", "--find-copies", "--pretty=format:%ai | %aN <%aE>", "--", file) err := doLines(cmd, func(line string) { sep := strings.IndexByte(line, '|') year, name := line[:4], line[sep+2:] |