From ba4f020083964699deff6a96f43e8d1a0acdc46b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 4 Sep 2018 17:48:51 -0400 Subject: *.gen: Update to emit the pattern looked for by the `go` tool The `go` documentation says that the generated-code notice should match the go regex: ^// Code generated .* DO NOT EDIT\.$ --- sd_daemon/log_util.go.gen | 4 ++-- sd_messages/messages.go.gen | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sd_daemon/log_util.go.gen b/sd_daemon/log_util.go.gen index 3ca63dc..9bebacf 100755 --- a/sd_daemon/log_util.go.gen +++ b/sd_daemon/log_util.go.gen @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 2016 Luke Shumaker +# Copyright (C) 2016, 2018 Luke Shumaker # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ { printf '//' printf ' %q' "$0" "$@" - printf '\n// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT\n\n' + printf '\n// Code generated by the above command; DO NOT EDIT.\n\n' cat < +# Copyright (C) 2017-2018 Luke Shumaker # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ { printf '//' printf ' %q' "$0" "$@" - printf '\n// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT\n\n' + printf '\n// Code generated by the above command; DO NOT EDIT.\n\n' sed -rn ' 1apackage sd_messages 1aimport "git.lukeshu.com/go/libsystemd/sd_id128" -- cgit v1.1-4-g5e80