From: Paul Eggert Date: Sat, 25 Dec 2021 01:22:00 +0000 (-0800) Subject: maint: tight-scope-mk need not be read-only X-Git-Tag: v1.0~2485 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb172844a85a0d79aa7814510bfffdb168fa3bb4;p=thirdparty%2Fgnulib.git maint: tight-scope-mk need not be read-only * top/maint.mk (tight-scope.mk): Don’t bother to make tight-scope.mk read-only either. --- diff --git a/ChangeLog b/ChangeLog index 0bcca2d3b4..7cfcc2893b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2021-12-24 Paul Eggert + maint: tight-scope-mk need not be read-only + * top/maint.mk (tight-scope.mk): Don’t bother to make + tight-scope.mk read-only either. + maint: break out '&& mv $@-t $@' * build-aux/git-version-gen, config/argz.mk, modules/configmake: * modules/posix_spawnp-tests, modules/snippet/link-warning: diff --git a/top/maint.mk b/top/maint.mk index a61bfda134..7345d45313 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1702,9 +1702,8 @@ sc_tight_scope: tight-scope.mk exit $$fail tight-scope.mk: $(ME) - @rm -f $@ $@-t @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) > $@-t - @chmod a=r $@-t && mv $@-t $@ + @mv $@-t $@ ifeq (a,b) # TS-start