summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-03-14 21:19:53 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:16:02 +0200
commit628b926230df3ae84b0ad87a39f5a685053c5c06 (patch)
tree78d66940066b3d6dd1cae6335971d91940859a55 /autogen.sh
parentf12d1cd1d765dd7bf20986d3882884b561ee8820 (diff)
downloadexternal_gettext-628b926230df3ae84b0ad87a39f5a685053c5c06.zip
external_gettext-628b926230df3ae84b0ad87a39f5a685053c5c06.tar.gz
external_gettext-628b926230df3ae84b0ad87a39f5a685053c5c06.tar.bz2
Checkout gnulib using 'git' instead of 'cvs'.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/autogen.sh b/autogen.sh
index b94b369..0354f7e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,9 +8,9 @@
# It also requires either
# - the GNULIB_TOOL environment variable pointing to the gnulib-tool script
# in a gnulib checkout, or
-# - the cvs program in the PATH and an internet connection.
+# - the git program in the PATH and an internet connection.
-# Copyright (C) 2003-2008 Free Software Foundation, Inc.
+# Copyright (C) 2003-2009 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -56,12 +56,10 @@ chmod a+x gettext-tools/tests/msgmerge-update-4
if ! $skip_gnulib; then
if test -z "$GNULIB_TOOL"; then
# Check out gnulib in a subdirectory 'gnulib'.
- GNULIB_CVS_ROOT=':pserver:anonymous@pserver.git.sv.gnu.org:/gnulib.git'
- GNULIB_CVS_REPOSITORY='gnulib'
if test -d gnulib; then
- (cd gnulib && cvs update -d -P)
+ (cd gnulib && git pull)
else
- cvs -d "$GNULIB_CVS_ROOT" checkout -d $GNULIB_CVS_REPOSITORY HEAD
+ git clone git://git.savannah.gnu.org/gnulib.git
fi
# Now it should contain a gnulib-tool.
if test -f gnulib/gnulib-tool; then