autogen.sh : Use git submodule

This commit is contained in:
Edward Hervey 2009-01-21 04:32:16 +01:00
parent e0237fb6e8
commit 8734fde9be

View file

@ -5,16 +5,13 @@ DIE=0
package=gst-plugins-bad package=gst-plugins-bad
srcfile=gst/speed/gstspeed.c srcfile=gst/speed/gstspeed.c
# a quick cvs co to ease the transition # Make sure we have common
if test ! -d common; if test ! -f common/gst-autogen.sh;
then then
echo "+ getting common/ from cvs" echo "+ Setting up common submodule"
if test -e CVS/Tag git submodule init
then
TAG="-r `tail -c +2 CVS/Tag`"
fi
cvs co $TAG common
fi fi
git submodule update
# source helper functions # source helper functions
if test ! -f common/gst-autogen.sh; if test ! -f common/gst-autogen.sh;