build: Add `bootstrap' and `sync-with-upstream' scripts.
[jackhill/guix/guix.git] / bootstrap
CommitLineData
b49ffe2d
LC
1#!/bin/sh
2
3# Import missing source files and create the build system.
4
5set -e -x
6
7top_srcdir="$PWD"
8export top_srcdir
9
10if [ ! -d nix-upstream ]
11then
12 git submodule init
13fi
14git submodule update
15
16exec autoreconf -vfi