summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-21 04:29:25 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-21 04:29:25 +0100
commit044b46ec984b83e91aa2d124a5fa453deb2e6337 (patch)
tree270d90467a290a324512601c17ec59dc1a28d906 /autogen.sh
parente9a393398e8a1a18d589a01769dd1d4ace089c74 (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 3749bf762e..6d3c1296bf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,16 +5,13 @@ DIE=0
package=gstreamer
srcfile=gst/gst.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;