gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 3e2297c 1/2: Recent bootstrap script from Gnul


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 3e2297c 1/2: Recent bootstrap script from Gnulib
Date: Mon, 14 Jan 2019 21:06:32 -0500 (EST)

branch: master
commit 3e2297c3c9950bb9e7be6fe853c7197f1bad8586
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Recent bootstrap script from Gnulib
    
    Gnulib's bootstrap script has been updated, so we are now using it in
    Gnuastro also.
---
 bootstrap | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/bootstrap b/bootstrap
index c13b486..5b08e7e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2018-10-13.05; # UTC
+scriptversion=2019-01-04.17; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -963,6 +963,16 @@ fi
 bootstrap_post_import_hook \
   || die "bootstrap_post_import_hook failed"
 
+# Don't proceed if there are uninitialized submodules.  In particular,
+# the next step will remove dangling links, which might be links into
+# uninitialized submodules.
+#
+# Uninitialized submodules are listed with an initial dash.
+if $use_git && git submodule | grep '^-' >/dev/null; then
+  die "some git submodules are not initialized. "     \
+      "Run 'git submodule init' and bootstrap again."
+fi
+
 # Remove any dangling symlink matching "*.m4" or "*.[ch]" in some
 # gnulib-populated directories.  Such .m4 files would cause aclocal to fail.
 # The following requires GNU find 4.2.3 or newer.  Considering the usual



reply via email to

[Prev in Thread] Current Thread [Next in Thread]