mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 10:43:02 +00:00
(build_cvs_prefix): Remove; unused.
(CVS_PREFIX): Adjust to yesterday's Savannah reorganization when getting gnulib.
This commit is contained in:
15
bootstrap
15
bootstrap
@@ -51,13 +51,6 @@ done
|
|||||||
|
|
||||||
echo "$0: Bootstrapping CVS $package..."
|
echo "$0: Bootstrapping CVS $package..."
|
||||||
|
|
||||||
build_cvs_prefix() {
|
|
||||||
CVS_PREFIX=:${1}:
|
|
||||||
if [ "${2}" != - ]; then
|
|
||||||
CVS_PREFIX=${CVS_PREFIX}${2}@
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
cleanup_gnulib() {
|
cleanup_gnulib() {
|
||||||
status=$?
|
status=$?
|
||||||
rm -fr gnulib
|
rm -fr gnulib
|
||||||
@@ -71,9 +64,9 @@ case ${GNULIB_SRCDIR--} in
|
|||||||
if [ ! -d gnulib ]; then
|
if [ ! -d gnulib ]; then
|
||||||
echo "$0: getting gnulib files..."
|
echo "$0: getting gnulib files..."
|
||||||
|
|
||||||
case ${CVS_AUTH-anoncvs} in
|
case ${CVS_AUTH-pserver} in
|
||||||
anoncvs)
|
pserver)
|
||||||
CVS_PREFIX='anoncvs@';;
|
CVS_PREFIX=':pserver:anonymous@';;
|
||||||
ssh)
|
ssh)
|
||||||
CVS_PREFIX="$CVS_USER${CVS_USER+@}";;
|
CVS_PREFIX="$CVS_USER${CVS_USER+@}";;
|
||||||
*)
|
*)
|
||||||
@@ -87,7 +80,7 @@ case ${GNULIB_SRCDIR--} in
|
|||||||
|
|
||||||
trap cleanup_gnulib 1 2 13 15
|
trap cleanup_gnulib 1 2 13 15
|
||||||
|
|
||||||
cvs -z3 -q -d ${CVS_PREFIX}subversions.gnu.org:/cvsroot/gnulib co gnulib ||
|
cvs -z3 -q -d ${CVS_PREFIX}cvs.savannah.gnu.org:/cvsroot/gnulib co gnulib ||
|
||||||
cleanup_gnulib
|
cleanup_gnulib
|
||||||
|
|
||||||
trap - 1 2 13 15
|
trap - 1 2 13 15
|
||||||
|
|||||||
Reference in New Issue
Block a user