[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: chmod -w => chmod a-w
From: |
Alexandre Duret-Lutz |
Subject: |
FYI: chmod -w => chmod a-w |
Date: |
Mon, 05 Jan 2004 23:21:18 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Following Paul's changes to autoconf, I'm checking this in on
HEAD and branch-1-8.
2004-01-05 Alexandre Duret-Lutz <address@hidden>
Mimic Paul Eggert's changes to Autoconf.
* Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
* lib/Automake/Makefile.am (Config.pm): Likewise.
* m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
Index: Makefile.am
===================================================================
RCS file: /cvs/automake/automake/Makefile.am,v
retrieving revision 1.226
diff -u -r1.226 Makefile.am
--- Makefile.am 10 Dec 2003 17:23:21 -0000 1.226
+++ Makefile.am 5 Jan 2004 22:20:32 -0000
@@ -2,7 +2,7 @@
## Makefile for Automake.
-## Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003
+## Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
## Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
@@ -69,19 +69,19 @@
## These files depend on Makefile so they are rebuilt if $(VERSION),
## $(datadir) or other do_subst'ituted variables change.
-## Use chmod -w to prevent people from editing the wrong file by accident.
+## Use chmod a-w to prevent people from editing the wrong file by accident.
automake: automake.in Makefile
rm -f $@ address@hidden
$(do_subst) $(srcdir)/automake.in >address@hidden
chmod +x address@hidden
- chmod -w address@hidden
+ chmod a-w address@hidden
mv -f address@hidden $@
aclocal: aclocal.in Makefile
rm -f $@ address@hidden
$(do_subst) $(srcdir)/aclocal.in >address@hidden
chmod +x address@hidden
- chmod -w address@hidden
+ chmod a-w address@hidden
mv -f address@hidden $@
## The master location for INSTALL is lib/INSTALL.
Index: NEWS
===================================================================
RCS file: /cvs/automake/automake/NEWS,v
retrieving revision 1.256.2.6
diff -u -r1.256.2.6 NEWS
--- NEWS 5 Jan 2004 21:49:32 -0000 1.256.2.6
+++ NEWS 5 Jan 2004 22:20:33 -0000
@@ -33,6 +33,10 @@
internal variable where Automake lists configury files to
distribute). This was harmless, but unaesthetic.
+ - Use `chmod a-w' instead of `chmod -w' as the latter honors umask.
+ This was an issue only in the Automake package itself, not in
+ its output.
+
* Long-standing bugs:
- Fix an unexpected diagnostic occurring when users attempt
Index: bootstrap
===================================================================
RCS file: /cvs/automake/automake/bootstrap,v
retrieving revision 1.15
diff -u -r1.15 bootstrap
--- bootstrap 9 Dec 2003 21:24:10 -0000 1.15
+++ bootstrap 5 Jan 2004 22:20:33 -0000
@@ -2,7 +2,7 @@
# This script helps bootstrap automake, when checked out from CVS.
#
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
# written by Pavel Roskin <address@hidden> September 2002
#
# This program is free software; you can redistribute it and/or modify
@@ -102,7 +102,7 @@
-e "address@hidden@%$datadir%g" \
-e "address@hidden@%Generated from $in; do not edit by hand.%g" \
$1 > $2
- chmod -w $2
+ chmod a-w $2
}
Index: lib/Automake/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/lib/Automake/Makefile.am,v
retrieving revision 1.20
diff -u -r1.20 Makefile.am
--- lib/Automake/Makefile.am 9 Dec 2003 21:24:11 -0000 1.20
+++ lib/Automake/Makefile.am 5 Jan 2004 22:20:36 -0000
@@ -1,6 +1,6 @@
## Process this file with automake to create Makefile.in
-## Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+## Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -60,12 +60,12 @@
## This file depend on Makefile so it is rebuilt if $(VERSION),
## $(datadir) or other do_subst'ituted variables change.
-## Use chmod -w to prevent people from editing the wrong file by accident.
+## Use chmod a-w to prevent people from editing the wrong file by accident.
Config.pm: Config.in Makefile
rm -f Config.tmp Config.pm
$(do_subst) $(srcdir)/Config.in >Config.tmp
chmod +x Config.tmp
- chmod -w Config.tmp
+ chmod a-w Config.tmp
mv -f Config.tmp Config.pm
EXTRA_DIST = Config.in
Index: m4/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/m4/Makefile.am,v
retrieving revision 1.51
diff -u -r1.51 Makefile.am
--- m4/Makefile.am 9 Dec 2003 21:24:11 -0000 1.51
+++ m4/Makefile.am 5 Jan 2004 22:20:36 -0000
@@ -2,7 +2,7 @@
## Makefile for Automake m4.
-## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003
+## Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
## Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
@@ -69,5 +69,5 @@
-e 's,address@hidden@],$(APIVERSION),g' \
-e "s,address@hidden@],Generated from amversion.in; do not edit by
hand.,g" \
$(srcdir)/amversion.in > address@hidden
- chmod -w address@hidden
+ chmod a-w address@hidden
mv -f address@hidden $@
--
Alexandre Duret-Lutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: chmod -w => chmod a-w,
Alexandre Duret-Lutz <=