commit 4ac5a15a0354b8ad5d24fcede186a7d608b2b157 parent e387a11593737c72042ec6e89576b02201a777ba Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 5 Oct 2019 15:49:41 +0200 check for git first Diffstat:
| M | bootstrap | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/bootstrap b/bootstrap @@ -1,4 +1,10 @@ #!/bin/sh + +if ! git --version >/dev/null; then + echo "git not installed" + exit 1 +fi + git submodule update --init # This is more portable than `which' but comes with