build: always init and update submodules in ./autogen.sh
authorPavel Šimerda <psimerda@redhat.com>
Thu, 30 May 2013 14:52:48 +0000 (16:52 +0200)
committerPavel Šimerda <psimerda@redhat.com>
Thu, 30 May 2013 15:18:59 +0000 (17:18 +0200)
autogen.sh

index 8c6179a..eef15b1 100755 (executable)
@@ -14,12 +14,9 @@ PKG_NAME=NetworkManager
 }
 
 # Fetch submodules if needed
-if test ! -f src/libgsystem/README;
-then
-  echo "+ Setting up submodules"
-  git submodule init
-  git submodule update
-fi
+echo "+ Setting up submodules"
+git submodule init
+git submodule update
 
 (cd $srcdir;
     gtkdocize || exit 1