Adapt submodule usage for gst-devtools
authorEdward Hervey <edward@collabora.com>
Mon, 9 Sep 2013 15:40:36 +0000 (17:40 +0200)
committerEdward Hervey <edward@collabora.com>
Mon, 9 Sep 2013 15:40:36 +0000 (17:40 +0200)
.gitmodules [moved from validate/.gitmodules with 50% similarity]
common [deleted submodule]
validate/autogen.sh
validate/common [new submodule]

similarity index 50%
rename from validate/.gitmodules
rename to .gitmodules
index a6b1eda..8da7f2e 100644 (file)
@@ -1,3 +1,3 @@
-[submodule "common"]
-       path = common
+[submodule "validate/common"]
+       path = validate/common
        url = git://anongit.freedesktop.org/gstreamer/common
diff --git a/common b/common
deleted file mode 160000 (submodule)
index 12af105..0000000
--- a/common
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 12af105243823fc73581db4fd79a46f6d0268dc5
index 7aa4042..a840683 100755 (executable)
@@ -6,12 +6,14 @@ package=gst-validate
 srcfile=tools/gst-validate.c
 
 # Make sure we have common
-if test ! -f common/gst-autogen.sh;
+cd ../
+if test ! -f validate/common/gst-autogen.sh;
 then
   echo "+ Setting up common submodule"
   git submodule init
 fi
 git submodule update
+cd validate/
 
 # source helper functions
 if test ! -f common/gst-autogen.sh;
diff --git a/validate/common b/validate/common
new file mode 160000 (submodule)
index 0000000..49f8c40
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 49f8c40577806b3de95c3265e5362a5f2b085b2f