build-all: Verify that git and svn are installed

This commit is contained in:
Orgad Shaneh authored and Martin Storsjö committed 2020-10-16 15:48:46 +03:00
1 parent a83473f6e2
commit 06883c79ad
1 file changed
+7
+7
View File
@@ -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