diff options
author | 2007-01-13 19:34:34 +0000 | |
---|---|---|
committer | 2007-01-13 19:34:34 +0000 | |
commit | 57f5b6226a0d49b4774b689ab56e6fb060b9a55f (patch) | |
tree | 3867ad9e1a85e3727a2bad3d76a3b02489ee9a09 | |
parent | - update README (diff) | |
download | portage-utils-57f5b6226a0d49b4774b689ab56e6fb060b9a55f.tar.gz portage-utils-57f5b6226a0d49b4774b689ab56e6fb060b9a55f.tar.bz2 portage-utils-57f5b6226a0d49b4774b689ab56e6fb060b9a55f.zip |
- make sure releases have the correct permsv0.1.23
-rwxr-xr-x | make-tarball.sh | 6 |
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) |