aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/update-license.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/update-license.go b/build/update-license.go
index 5307f12ae..ad7aad394 100644
--- a/build/update-license.go
+++ b/build/update-license.go
@@ -54,7 +54,7 @@ var (
// this regexp must match the entire license comment at the
// beginning of each file.
- licenseCommentRE = regexp.MustCompile(`(?s)^/\*\s*(Copyright|This file is part of) .*?\*/\n*`)
+ licenseCommentRE = regexp.MustCompile(`^//\s*(Copyright|This file is part of).*?\n(?://.*?\n)*\n*`)
// this text appears at the start of AUTHORS
authorsFileHeader = "# This is the official list of go-ethereum authors for copyright purposes.\n\n"