]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: Fix autogenerated URL in ChangeLog
authorChris Hofstaedtler <zeha@debian.org>
Thu, 21 May 2020 15:42:30 +0000 (15:42 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 22 May 2020 08:26:21 +0000 (10:26 +0200)
Fixes: b3a3b7eb1a15c5633ae890bec00fe5691b784d99
Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
Makefile.am

index 88943f1e454caa4a3c86066d3681fdec7ecfd5c7..20e6fe1c07ee01739583db146c29ccaab63112ec 100644 (file)
@@ -167,7 +167,7 @@ $(PATHFILES): Makefile
 dist-hook:
        echo $(VERSION) > $(distdir)/.tarball-version
 # Set ChangeLog tag reference.
-       sed -i "s/log/log;h=$(VERSION)/" $(distdir)/ChangeLog
+       sed -i "s!log!log?h=v$(VERSION)!" $(distdir)/ChangeLog
 
 distclean-local:
        -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f