Set correct permissions before releasing.

This commit is contained in:
Michal Čihař
2003-06-10 07:32:00 +00:00
parent a9c4dff479
commit bd4148f3c2
2 changed files with 7 additions and 1 deletions

View File

@@ -94,8 +94,11 @@ if [ $? -ne 0 ] ; then
exit 2
fi
date > phpMyAdmin/RELEASE-DATE-$1
LC_ALL=C date > phpMyAdmin/RELEASE-DATE-$1
find phpMyAdmin \( -name .cvsignore -o -name CVS \) -print0 | xargs -0 rm -rf
find phpMyAdmin -type d -print0 | xargs -0 chmod 755
find phpMyAdmin -type f -print0 | xargs -0 chmod 644
find phpMyAdmin \( -name '*.sh' -o -name '*.pl' \) -print0 | xargs -0 chmod 755
mv phpMyAdmin phpMyAdmin-$1
zip -9 -r phpMyAdmin-$1-php3.zip phpMyAdmin-$1
tar cvzf phpMyAdmin-$1-php3.tar.gz phpMyAdmin-$1