Skip to content

Commit e40cbb4

Browse files
authored
Update build.sh
1 parent 10927da commit e40cbb4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
#!/bin/bash
22

33
if ! [ -x "$(command -v python3)" ]; then
4-
echo "ERROR: python is not installed! Please install python first."
4+
echo "ERROR: python is not installed or not in PATH! Please install python first."
55
exit 1
66
fi
77

88
if ! [ -x "$(command -v git)" ]; then
9-
echo "ERROR: git is not installed! Please install git first."
9+
echo "ERROR: git is not installed or not in PATH! Please install git first."
10+
exit 1
11+
fi
12+
13+
if ! [ -x "$(command -v ninja)" ]; then
14+
echo "ERROR: ninja is not installed or not in PATH! Please install ninja first."
1015
exit 1
1116
fi
1217

0 commit comments

Comments
 (0)