1#!/usr/bin/env bash 2 3# Run this script to regenerate descriptor protos after the protocol compiler 4# changes. 5 6if test ! -e src/google/protobuf/stubs/common.h; then 7 cat >&2 << __EOF__ 8Could not find source code. Make sure you are running this script from the 9root of the distribution tree. 10__EOF__ 11 exit 1 12fi 13 14pushd src 15./protoc --php_out=internal:../php/src google/protobuf/descriptor.proto 16popd 17