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

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-06-10 Michal Cihar <nijel@users.sourceforge.net>
* scripts/create-release.sh: Set correct permissions before releasing.
2003-06-09 Michal Cihar <nijel@users.sourceforge.net> 2003-06-09 Michal Cihar <nijel@users.sourceforge.net>
* libraries/display_tbl.lib.php3: Display Full/Partial text links for * libraries/display_tbl.lib.php3: Display Full/Partial text links for
almost every select. almost every select.

View File

@@ -94,8 +94,11 @@ if [ $? -ne 0 ] ; then
exit 2 exit 2
fi 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 \( -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 mv phpMyAdmin phpMyAdmin-$1
zip -9 -r phpMyAdmin-$1-php3.zip phpMyAdmin-$1 zip -9 -r phpMyAdmin-$1-php3.zip phpMyAdmin-$1
tar cvzf phpMyAdmin-$1-php3.tar.gz phpMyAdmin-$1 tar cvzf phpMyAdmin-$1-php3.tar.gz phpMyAdmin-$1