Commit f2bd1eb9 by Steven Bosscher Committed by Steven Bosscher

* gcc_build: Fix my previous checking.

From-SVN: r106449
parent b03e9863
2005-11-03 Steven Bosscher <stevenb@suse.de>
* gcc_build: Fix my previous checking.
2005-11-01 Joseph S. Myers <joseph@codesourcery.com> 2005-11-01 Joseph S. Myers <joseph@codesourcery.com>
* gcc_update: Include revision number in LAST_UPDATED. * gcc_update: Include revision number in LAST_UPDATED.
......
...@@ -201,7 +201,8 @@ SVN_SERVER="gcc.gnu.org" ...@@ -201,7 +201,8 @@ SVN_SERVER="gcc.gnu.org"
# The path to the repository on that server. # The path to the repository on that server.
SVN_REPOSITORY="/svn/gcc/" SVN_REPOSITORY="/svn/gcc/"
# The branch to check out from that server. # 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. # The SVN protocol to use.
SVN_PROTOCOL="svn" SVN_PROTOCOL="svn"
# The username to use when connecting to the server. # The username to use when connecting to the server.
...@@ -285,7 +286,9 @@ if [ ${CHECKOUT} -eq 0 ] && test -n "${SVN_BRANCH}"; then ...@@ -285,7 +286,9 @@ if [ ${CHECKOUT} -eq 0 ] && test -n "${SVN_BRANCH}"; then
fi fi
# Validate the branch name. # 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}"; SVN_BRANCH="branches/${SVN_BRANCH}";
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment