From 06883c79ad5dcd47ecaa489c473f0878a35161ad Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 16 Oct 2020 15:21:36 +0300 Subject: [PATCH] build-all: Verify that git and svn are installed --- build-all.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build-all.sh b/build-all.sh index 94c6091..48ec1d4 100755 --- a/build-all.sh +++ b/build-all.sh @@ -22,6 +22,13 @@ if [ $# -lt 1 ]; then fi PREFIX="$1" +for dep in git svn cmake; do + if ! hash $dep 2>/dev/null; then + echo "$dep not installed. Please install it and retry" 1>&2 + exit 1 + fi +done + ./build-llvm.sh $PREFIX ./install-wrappers.sh $PREFIX ./build-mingw-w64.sh $PREFIX