* gcc_build: Fix my previous checking.

From-SVN: r106449
This commit is contained in:
Steven Bosscher 2005-11-03 20:56:05 +00:00 committed by Steven Bosscher
parent b03e9863c9
commit f2bd1eb944
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-11-03 Steven Bosscher <stevenb@suse.de>
* gcc_build: Fix my previous checking.
2005-11-01 Joseph S. Myers <joseph@codesourcery.com>
* gcc_update: Include revision number in LAST_UPDATED.

View File

@ -201,7 +201,8 @@ SVN_SERVER="gcc.gnu.org"
# The path to the repository on that server.
SVN_REPOSITORY="/svn/gcc/"
# The branch to check out from that server.
SVN_BRANCH="trunk"
# Defaults to trunk if no branch is defined with -b.
SVN_BRANCH=""
# The SVN protocol to use.
SVN_PROTOCOL="svn"
# The username to use when connecting to the server.
@ -285,7 +286,9 @@ if [ ${CHECKOUT} -eq 0 ] && test -n "${SVN_BRANCH}"; then
fi
# Validate the branch name.
if test "${SVN_BRANCH}" != "trunk"; then
if test -n "${SVN_BRANCH}"; then
SVN_BRANCH="trunk";
else
SVN_BRANCH="branches/${SVN_BRANCH}";
fi