# HG changeset patch # User Paul Eggert # Date 1514767426 28800 # Node ID b40116976b3981074c32846a2b703324a3781833 # Parent 1a2841157ac5271ec6eb944adab6edb1a7dc7527 maint: fix 'make update-copyright' * Makefile (update-copyright): Adjust to 2016-11-23 change to config/srclist-update, which changed the format of srclist.txt. diff -r 1a2841157ac5 -r b40116976b39 ChangeLog --- a/ChangeLog Sun Dec 31 16:26:12 2017 -0800 +++ b/ChangeLog Sun Dec 31 16:43:46 2017 -0800 @@ -1,3 +1,9 @@ +2018-01-01 Paul Eggert + + maint: fix 'make update-copyright' + * Makefile (update-copyright): Adjust to 2016-11-23 change + to config/srclist-update, which changed the format of srclist.txt. + 2017-12-30 Paul Eggert chdir-safer: remove this module diff -r 1a2841157ac5 -r b40116976b39 Makefile --- a/Makefile Sun Dec 31 16:26:12 2017 -0800 +++ b/Makefile Sun Dec 31 16:43:46 2017 -0800 @@ -160,7 +160,7 @@ update-copyright: exempt=$$(mktemp); \ grep -v '^#' config/srclist.txt|grep -v '^$$' \ - | while read src dst; do \ + | while read top src dst options; do \ test -f "$$dst" && { echo "$$dst"; continue; }; \ test -d "$$dst" || continue; \ echo "$$dst"/$$(basename "$$src"); \