[gnome-shell-extensions/sass] Keep submodules updated



commit 5fec825e7862427cd4c9f194a14c6fa1aacbb3fb
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Feb 20 14:18:33 2015 +0100

    Keep submodules updated

 autogen.sh |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index b48e937..42288e4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,6 +12,14 @@ test -f $srcdir/configure.ac || {
     exit 1
 }
 
+# Fetch submodules if needed
+if test ! -f data/gnome-shell-sass/COPYING;
+then
+  echo "+ Setting up submodules"
+  git submodule init
+fi
+git submodule update
+
 which gnome-autogen.sh || {
     echo "You need to install gnome-common from GNOME Git (or from"
     echo "your OS vendor's package manager)."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]