Skip to content

Commit 2a18d32

Browse files
fix
Making PROTOC the full path to the binary.
1 parent 5f470ec commit 2a18d32

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Tools/CI/run_cmb_service.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,7 @@ fi
9393
export PROTOC="/usr/bin/protoc"
9494

9595
# Use the PROTOC env var to see if it is correct by getting the protoc version
96-
try $PROTOC/protoc --version
97-
98-
# If that failed, then the path is incorrect. Try using the next possible path
99-
if $ThrewError; then
100-
export PROTOC="/usr/bin"
101-
# Use the PROTOC env var to see if it is correct by getting the protoc version
102-
try $PROTOC/protoc --version
103-
fi
96+
try $PROTOC --version
10497

10598
if $ThrewError; then
10699
echo "Failed to properly run protoc!"

0 commit comments

Comments
 (0)