]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: rely on umask for setting permissions in tarball
authorBernhard Voelker <mail@bernhard-voelker.de>
Thu, 17 Dec 2015 11:46:59 +0000 (12:46 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Thu, 17 Dec 2015 11:46:59 +0000 (12:46 +0100)
Commit v8.24-116-g896006b changed the file permissions for the tarball
using ug+rw.  Better to let the umask decide whether the file should
be group-writeable or not.

* Makefile.am (dist-hook): Change chmod call from 'ug+rw' to '+rw'.

Makefile.am

index d19b8345b3e08315cdf64b6db6d7e58b86bb288d..a1da875afb5040be405c09f7cebd87b7b3f4d8e0 100644 (file)
@@ -105,7 +105,7 @@ BUILT_SOURCES = .version
 # The perl substitution is to change some key uses of "rm" to "/bin/rm".
 # See the rm_subst comment for details.
 dist-hook: gen-ChangeLog
-       $(AM_V_GEN)chmod -R ug+rw $(distdir)
+       $(AM_V_GEN)chmod -R +rw $(distdir)
        $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
        $(AM_V_GEN)date +%s > $(distdir)/.timestamp
        $(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/Makefile.in