From 8734fde9be6831375d1aa99c6b0cbe50ef8a7556 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 21 Jan 2009 04:32:16 +0100 Subject: [PATCH] autogen.sh : Use git submodule --- autogen.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/autogen.sh b/autogen.sh index 41ca8dab11..589e856681 100755 --- a/autogen.sh +++ b/autogen.sh @@ -5,16 +5,13 @@ DIE=0 package=gst-plugins-bad srcfile=gst/speed/gstspeed.c -# a quick cvs co to ease the transition -if test ! -d common; +# Make sure we have common +if test ! -f common/gst-autogen.sh; then - echo "+ getting common/ from cvs" - if test -e CVS/Tag - then - TAG="-r `tail -c +2 CVS/Tag`" - fi - cvs co $TAG common + echo "+ Setting up common submodule" + git submodule init fi +git submodule update # source helper functions if test ! -f common/gst-autogen.sh;