aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2007-01-13 19:34:34 +0000
committerNed Ludd <solar@gentoo.org>2007-01-13 19:34:34 +0000
commit57f5b6226a0d49b4774b689ab56e6fb060b9a55f (patch)
tree3867ad9e1a85e3727a2bad3d76a3b02489ee9a09 /make-tarball.sh
parent- update README (diff)
downloadportage-utils-57f5b6226a0d49b4774b689ab56e6fb060b9a55f.tar.gz
portage-utils-57f5b6226a0d49b4774b689ab56e6fb060b9a55f.tar.bz2
portage-utils-57f5b6226a0d49b4774b689ab56e6fb060b9a55f.zip
- make sure releases have the correct permsv0.1.23
Diffstat (limited to 'make-tarball.sh')
-rwxr-xr-xmake-tarball.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/make-tarball.sh b/make-tarball.sh
index cef58a5..c8d7af8 100755
--- a/make-tarball.sh
+++ b/make-tarball.sh
@@ -10,6 +10,12 @@ if [[ -n ${old_files} ]] ; then
echo "${old_files}"
exit 1
fi
+find . -perm -1 -exec chmod u+rwx '{}' \;
+find . -type d -exec chmod 755 '{}' \;
+find . -name '*.c' -exec chmod 644 '{}' \;
+find . -name '*.h' -exec chmod 644 '{}' \;
+find . -name '*.1' -exec chmod 644 '{}' \;
+chmod 644 COPYING HACKING Makefile README TODO
ver="$1"
[[ "$ver" == "snap" ]] && ver=$(date -u +%Y%m%d)