Skip to content

Commit 06883c7

Browse files
orgadsmstorsjo
authored andcommitted
build-all: Verify that git and svn are installed
1 parent a83473f commit 06883c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build-all.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ if [ $# -lt 1 ]; then
2222
fi
2323
PREFIX="$1"
2424

25+
for dep in git svn cmake; do
26+
if ! hash $dep 2>/dev/null; then
27+
echo "$dep not installed. Please install it and retry" 1>&2
28+
exit 1
29+
fi
30+
done
31+
2532
./build-llvm.sh $PREFIX
2633
./install-wrappers.sh $PREFIX
2734
./build-mingw-w64.sh $PREFIX

0 commit comments

Comments
 (0)