From 0969e79607d00b75a647300eadbe8c316d673e43 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 12 May 2015 09:55:58 +0200 Subject: [PATCH] validate: Always git submodule update from the toplevel directory Otherwise it fails with older git versions --- validate/autogen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/validate/autogen.sh b/validate/autogen.sh index 18ed91446c..fbd44a4abb 100755 --- a/validate/autogen.sh +++ b/validate/autogen.sh @@ -18,14 +18,14 @@ package=gst-validate srcfile=gst-validate.doap # 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" - cd ../ git submodule init - cd validate/ fi git submodule update +cd validate/ # source helper functions if test ! -f common/gst-autogen.sh;