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.
This commit is contained in:
Ludovic Courtès 2012-12-13 23:45:38 +01:00
parent 4aa52039a7
commit e2a06ddc7a
1 changed files with 3 additions and 4 deletions

View File

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