summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-21 04:36:21 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-21 04:36:21 +0100
commita8fb22bdf44277a28383b19ff328a04966eb5cd5 (patch)
treec6da73798da4c0ba90c2824a76994c2d94eea6d1 /autogen.sh
parent2a07eb70c3f4bdc1fc8de77556c44ab088d80435 (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 66fc63d..a9670c1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,16 +5,13 @@ DIE=0
package=gnonlin
srcfile=gnl/gnl.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;