mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
autogen.sh : Use git submodule
This commit is contained in:
parent
e9a393398e
commit
044b46ec98
1 changed files with 5 additions and 8 deletions
13
autogen.sh
13
autogen.sh
|
@ -5,16 +5,13 @@ DIE=0
|
||||||
package=gstreamer
|
package=gstreamer
|
||||||
srcfile=gst/gst.c
|
srcfile=gst/gst.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;
|
||||||
|
|
Loading…
Reference in a new issue