[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat b378306e36 2/2: ; Write copyright year range properly
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat b378306e36 2/2: ; Write copyright year range properly in ChangeLog |
Date: |
Wed, 30 Nov 2022 06:58:36 -0500 (EST) |
branch: elpa/eat
commit b378306e36003297b959fd7d107eb4bb0c208872
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
; Write copyright year range properly in ChangeLog
---
make-changelog | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/make-changelog b/make-changelog
index 48e0431f43..23c4e3df59 100755
--- a/make-changelog
+++ b/make-changelog
@@ -9,8 +9,8 @@
# Find the years covered by the generated ChangeLog, so that
# a proper copyright notice can be output.
years=$(sed -n 's/^\([0-9][0-9]*\).*/\1/p' ChangeLog | sort -nu)
-start_year=$(echo "$years" | head)
-end_year=$(echo "$years" | tail)
+start_year=$(echo "$years" | head -1)
+end_year=$(echo "$years" | tail -1)
if test "$start_year" = "$end_year"; then
year_range=$start_year