[ostree] Automatically populate the git submodules in autogen.sh
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] Automatically populate the git submodules in autogen.sh
- Date: Tue, 31 Jul 2012 13:28:00 +0000 (UTC)
commit 31d129fab4880a3ecae621d20f175e1ed7e039d3
Author: Stef Walter <stefw gnome org>
Date: Mon Jul 30 13:04:00 2012 +0200
Automatically populate the git submodules in autogen.sh
autogen.sh | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 6035bc0..4e9fcae 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,5 +16,14 @@ mkdir -p m4
autoreconf --force --install --verbose
+# Fetch submodules if needed
+if test ! -f src/libgsystem/README;
+then
+ echo "+ Setting up submodules"
+ git submodule init
+fi
+git submodule update
+
+
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]