debian/rules: do not rely on umask to set contrib permissions
commitfad5cc490ff961fa53890138385d4e5a339aea81
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 12 Oct 2011 10:18:33 +0000 (12 05:18 -0500)
committerJonathan Nieder <jrnieder@gmail.com>
Wed, 12 Oct 2011 10:18:33 +0000 (12 05:18 -0500)
tree5dadabb17f1bf14d6777f4af74e05d90d9c98249
parent3a0290bbcee4d1e08bc67bd9bdbe65a532d1523b
debian/rules: do not rely on umask to set contrib permissions

debian-1.7.7-1 (debian/rules, debian/git.postinst: move contrib hooks
from /usr/share/doc/git-core/ into /usr/share/git-core/, 2011-10-09)
removed the following code:

find '$(GIT)'/usr/share/doc/git/contrib -type f | xargs chmod 0644
find '$(GIT)'/usr/share/doc/git/contrib -type d | xargs chmod 0755

But making such a change without advertising it in debian/changelog is
not so nice, and without those two lines, the permissions of files
under contrib/ vary based on umask in the build environment.

Later it probably makes sense to tweak the find expression so we can
keep executable files executable while still explicitly setting
permissions.  For now let's just restore the pre-1.7.7 behavior.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
debian/changelog
debian/rules