From e2a06ddc7a7d5620f7df8397cec714335b548d6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Thu, 13 Dec 2012 23:45:38 +0100
Subject: [PATCH] build: Have `bootstrap' run all the necessary steps.

* bootstrap: Always run "git submodule init".  Run
  `nix/sync-with-upstream'.
  Reported by Nikita Karetnikov and Andreas Enge.
---
 bootstrap | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/bootstrap b/bootstrap
index e445af2f2c7..f34c43dc52f 100755
--- a/bootstrap
+++ b/bootstrap
@@ -7,10 +7,9 @@ set -e -x
 top_srcdir="$PWD"
 export top_srcdir
 
-if [ ! -d nix-upstream ]
-then
-    git submodule init
-fi
+git submodule init
 git submodule update
 
+./nix/sync-with-upstream
+
 exec autoreconf -vfi
-- 
GitLab