From e3ffd3bbdd23d06f9efe114c4e0247e58444229b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 1 Jan 2022 10:24:28 -0800 Subject: =?UTF-8?q?maint:=20fix=20=E2=80=98make=20update-copyright?= =?UTF-8?q?=E2=80=99=20on=20symlinks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After running ‘make update-copyright’ I noticed that it incorrectly replaced a couple of symlinks with their contents. * Makefile (update-copyright): Do not update symlinks. * etc/license-notices/GPL, etc/license-notices/LGPL: Change these back to symlinks. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 913407fa78..85362c8c2c 100644 --- a/Makefile +++ b/Makefile @@ -173,6 +173,9 @@ update-copyright: done > $$exempt; \ git ls-files tests/unictype >> $$exempt; \ git ls-files doc/INSTALL* >> $$exempt; \ + for file in $$(git ls-files); do \ + test ! -h $$file || echo $$file; \ + done >> $$exempt; \ git ls-files | grep -vFf $$exempt \ | xargs grep -L '^/\*.*GENERATED AUTOMATICALLY' \ | UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 \ -- cgit v1.2.1