= is correct for comparsion in shell.

This commit is contained in:
Michal Čihař
2005-11-10 17:32:58 +00:00
parent d5835fd32c
commit 24dac8b4e2
2 changed files with 10 additions and 7 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2005-11-10 Michal Čihař <michal@cihar.com>
* scripts/create-release.sh: = is correct for comparsion in shell.
2005-11-09 Marc Delisle <lem9@users.sourceforge.net> 2005-11-09 Marc Delisle <lem9@users.sourceforge.net>
* pdf_pages.php: bug #1245891, too large scaling in PDF schema * pdf_pages.php: bug #1245891, too large scaling in PDF schema
* libraries/bookmark.lib.php: bug #1339184 (for bookmark insertion) * libraries/bookmark.lib.php: bug #1339184 (for bookmark insertion)

View File

@@ -69,7 +69,7 @@
cvsserver=${cvsserver:-cvs} cvsserver=${cvsserver:-cvs}
if [ $# == 0 ] if [ $# = 0 ]
then then
echo "Usage: create-release.sh version from_branch" echo "Usage: create-release.sh version from_branch"
echo " (no spaces allowed!)" echo " (no spaces allowed!)"
@@ -78,15 +78,15 @@ then
exit 65 exit 65
fi fi
if [ "$1" == "snapshot" ] if [ "$1" = "snapshot" ]
then then
branch='' branch=''
elif [ "$#" == 2 ] elif [ "$#" = 2 ]
then then
branch="-r $2" branch="-r $2"
fi fi
if [ $1 == "snapshot" ] if [ $1 = "snapshot" ]
then then
mode="snapshot" mode="snapshot"
date_snapshot=`date +%Y%m%d-%H%M%S` date_snapshot=`date +%Y%m%d-%H%M%S`
@@ -131,7 +131,7 @@ END
fi fi
fi fi
if [ "$mode" == "snapshot" -a "$2" != "local" ] ; then if [ "$mode" = "snapshot" -a "$2" != "local" ] ; then
# Goto project dir # Goto project dir
cd /home/groups/p/ph/phpmyadmin/htdocs cd /home/groups/p/ph/phpmyadmin/htdocs
@@ -265,7 +265,7 @@ END
fi fi
if [ "$mode" == "snapshot" -a "$2" != "local" ] ; then if [ "$mode" = "snapshot" -a "$2" != "local" ] ; then
cd .. cd ..
find cvs -type d -print0 | xargs -0 chmod 775 find cvs -type d -print0 | xargs -0 chmod 775
find cvs -type f -print0 | xargs -0 chmod 664 find cvs -type f -print0 | xargs -0 chmod 664