coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] maint: make generated THANKS file read-only


From: Jim Meyering
Subject: [PATCH 1/3] maint: make generated THANKS file read-only
Date: Mon, 21 Nov 2011 00:01:06 +0100

I noticed that THANKS was writable, even though it is generated.
Corrected by this:

(in pushing that, I accidentally pushed a gnulib update that
was merely for testing -- and for which we're not yet ready --
so I've also just reverted that)

>From 67b442f2aa53103848098cfe279e2cff116c7367 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 20 Nov 2011 21:33:48 +0100
Subject: [PATCH 1/3] maint: make generated THANKS file read-only

* Makefile.am (THANKS): Make generated file read-only.
---
 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 716cbdd..b866cbb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -143,7 +143,7 @@ ASSORT = LC_ALL=C sort
 prologue = perl -ne '/^\#\#/ and exit; print' $(srcdir)/THANKS.in

 THANKS: THANKS.in Makefile.am .mailmap thanks-gen .version
-       $(AM_V_GEN)                                                     \
+       $(AM_V_GEN)rm -f address@hidden $@;                                     
\
        {                                                               \
          $(prologue); echo;                                            \
          { perl -ne '/^$$/.../^$$/ and print' $(srcdir)/THANKS.in      \
@@ -154,7 +154,7 @@ THANKS: THANKS.in Makefile.am .mailmap thanks-gen .version
            | LC_ALL=en_US.UTF-8 sort -f;                               \
          echo;                                                         \
          printf ';; %s\n' 'Local Variables:' 'coding: utf-8' End:;     \
-       } > address@hidden && mv address@hidden $@
+       } > address@hidden && chmod a-w address@hidden && mv address@hidden $@

 # Some of our git hook scripts are supposed to be identical to git's samples.
 # See if they are still in sync.
--
1.7.8.rc2.3.g0911


>From 173f4d9bd628fb771eaeca3d2fef97dcd71fedb8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 20 Nov 2011 23:38:03 +0100
Subject: [PATCH 2/3] build: update gnulib submodule to latest

---
 gnulib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib b/gnulib
index 17febe7..3e07d5d 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 17febe7763c9ef38ed1ced5f08f022168e198929
+Subproject commit 3e07d5d60bee7d0e6fc0d79e974ce5a8dc7dea61
--
1.7.8.rc2.3.g0911


>From ad10c145ff5ae776598671ed840a446dc120b871 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 20 Nov 2011 23:58:13 +0100
Subject: [PATCH 3/3] maint: revert "build: update gnulib submodule to latest"

Don't update to latest from gnulib just yet.
This reverts commit 173f4d9bd628fb771eaeca3d2fef97dcd71fedb8.
In particular, manywarnings is too aggressive.
---
 gnulib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib b/gnulib
index 3e07d5d..17febe7 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 3e07d5d60bee7d0e6fc0d79e974ce5a8dc7dea61
+Subproject commit 17febe7763c9ef38ed1ced5f08f022168e198929
--
1.7.8.rc2.3.g0911



reply via email to

[Prev in Thread] Current Thread [Next in Thread]