aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/generate_descriptors_proto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'objectivec/generate_descriptors_proto.sh')
-rwxr-xr-xobjectivec/generate_descriptors_proto.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/objectivec/generate_descriptors_proto.sh b/objectivec/generate_descriptors_proto.sh
index f2ed00b7..84ba0738 100755
--- a/objectivec/generate_descriptors_proto.sh
+++ b/objectivec/generate_descriptors_proto.sh
@@ -11,7 +11,6 @@ set -eu
readonly ScriptDir=$(dirname "$(echo $0 | sed -e "s,^\([^/]\),$(pwd)/\1,")")
readonly ProtoRootDir="${ScriptDir}/.."
-readonly ProtoC="${ProtoRootDir}/src/protoc"
pushd "${ProtoRootDir}" > /dev/null
@@ -33,10 +32,9 @@ fi
# Make sure the compiler is current.
cd src
-make $@ google/protobuf/stubs/pbconfig.h
make $@ protoc
-declare -a RUNTIME_PROTO_FILES=(\
+declare -a RUNTIME_PROTO_FILES=( \
google/protobuf/any.proto \
google/protobuf/api.proto \
google/protobuf/descriptor.proto \
@@ -50,5 +48,3 @@ declare -a RUNTIME_PROTO_FILES=(\
google/protobuf/wrappers.proto)
./protoc --objc_out="${ProtoRootDir}/objectivec" ${RUNTIME_PROTO_FILES[@]}
-
-popd > /dev/null