= is correct for comparsion in shell.
This commit is contained in:
@@ -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)
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
# - no longer create a config.default.php from config.inc.php
|
# - no longer create a config.default.php from config.inc.php
|
||||||
#
|
#
|
||||||
# 2005-06-12, lem9@users.sourceforge.net
|
# 2005-06-12, lem9@users.sourceforge.net
|
||||||
# - cvs server name changed to cvs, because cvs1 no longer works from
|
# - cvs server name changed to cvs, because cvs1 no longer works from
|
||||||
# shell.sourceforge.net
|
# shell.sourceforge.net
|
||||||
#
|
#
|
||||||
# 2003-08-23, nijel@users.sourceforge.net:
|
# 2003-08-23, nijel@users.sourceforge.net:
|
||||||
@@ -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
|
||||||
|
Reference in New Issue
Block a user