(unknown)

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
branch: master
commit 3c19bfd4fbb234a08db576a42dafb5330e32a64b
Author: Mike Frysinger <[email protected]>
AuthorDate: Sun Jan 14 23:01:22 2024 -0500

    maint: tweak update-release-year for syntax checks
    
    `make syntax-check` complains about redundant variable braces.
    
    * cfg.mk (update-release-year): Delete $${year} braces.
---
 cfg.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index e9360947..bce1dd61 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -27,8 +27,8 @@ update-copyright: update-release-year
 update-release-year:
 	$(AM_V_GEN)year=`date +%Y`; \
 	sed -i \
-		-e "/_LT_COPY/,+1 { /Copyright/ {s:[0-9][0-9][0-9][0-9]:$${year}:} }" \
-		-e "/^Copyright/ {s:[0-9][0-9][0-9][0-9]:$${year}:} " \
+		-e "/_LT_COPY/,+1 { /Copyright/ {s:[0-9][0-9][0-9][0-9]:$$year:} }" \
+		-e "/^Copyright/ {s:[0-9][0-9][0-9][0-9]:$$year:} " \
 		m4/libtool.m4
 
 # Set format of NEWS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.