summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2018-09-17 10:12:38 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-09-17 15:56:17 +0200
commitc7cbef52c27217c3bd529ddef26152fb11093a12 (patch)
tree950d4849885e7cec23906fdeff0416898f2b1cff /bootstrap.conf
parentdf8465c7df41f42e0271a19229be08c2b12828da (diff)
downloadgnutls-c7cbef52c27217c3bd529ddef26152fb11093a12.tar.gz
Update git submodules via ./bootstrap
Setting $SUBMODULE_NOFETCH to a non-empty value adds --no-fetch to the git command (for CI speedup). Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 836f1a6f8a..87bf4d5866 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -59,6 +59,13 @@ else
$GTKDOCIZE
fi
+# update git submodules
+git_options=
+if test -n "$SUBMODULE_NOFETCH"; then
+ git_options="--no-fetch"
+fi
+git submodule update --init $git_options
+
bootstrap_post_import_hook ()
{
# we re-use malloc-posix from the original gnulib