summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-21 04:31:58 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-21 04:31:58 +0100
commit6d325c2ece8e1710185414d24316b6f87ef0dd18 (patch)
treea67e61f1300a29d632190e32d1efcd7c1bcac9ad /autogen.sh
parent6c565d2ee1061baa7efb3809fcc571a244df621b (diff)
autogen.sh : Use git submodule
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/autogen.sh b/autogen.sh
index 4de1c88b..3c2db610 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,16 +5,13 @@ DIE=0
package=gst-plugins-good
srcfile=gst/law/alaw.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;