Skip to content

Commit 8c945e3

Browse files
committed
Only fetch Ninja if the supplied version fails to execute
1 parent 6966a2f commit 8c945e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webrtc/build/get_ninja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33
rootdir="$(cd "$(dirname "$0")"; pwd)"
44
cd "$rootdir"
55

6-
if ! "$rootdir/ninja/ninja" --version &>/dev/null
6+
if ! "$rootdir/depot_tools/ninja" --version &>/dev/null
77
then
88
if [ ! -d ninja ]
99
then

0 commit comments

Comments
 (0)