Add comments in build_example_test.sh

pull/6992/head
Yuchen Zeng 9 years ago
parent 0287be8e60
commit f329395514
  1. 5
      src/objective-c/tests/build_example_test.sh

@ -37,7 +37,12 @@ cd `dirname $0`
BINDIR=`pwd`/../../../bins/$CONFIG
TMP_PATH=$PATH
# If `protoc` is not found, add bins/$CONFIG/protobuf/protoc to the search path
hash protoc 2>/dev/null || TMP_PATH=$BINDIR/protobuf:$TMP_PATH
# If `protoc-gen-objcgrpc` is not found, make a symlink from
# bins/$CONGIF/grpc_objective_c_plugin and add it to the search path
PATH=$TMP_PATH hash protoc-gen-objcgrpc 2>/dev/null || {
ln -sf $BINDIR/grpc_objective_c_plugin $BINDIR/protoc-gen-objcgrpc
TMP_PATH=$BINDIR:$TMP_PATH

Loading…
Cancel
Save