From 35d06e99fb310c81b1fdd79a8ffda2a5bb3fe02f Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Wed, 8 Apr 2015 15:49:56 -0700 Subject: [PATCH] Simplified script --- src/php/bin/generate_proto_php.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/php/bin/generate_proto_php.sh b/src/php/bin/generate_proto_php.sh index 3cc07aba349..16f93747ab8 100755 --- a/src/php/bin/generate_proto_php.sh +++ b/src/php/bin/generate_proto_php.sh @@ -32,12 +32,9 @@ set +e cd $(dirname $0) -cd ../tests/generated_code +gen_code='../tests/generated_code' +interop='../tests/interop' -protoc-gen-php -i . -o . ./math.proto +protoc-gen-php -i $gen_code -o $gen_code $gen_code/math.proto -cd - - -cd ../tests/interop - -protoc-gen-php -i . -o . ./test.proto +protoc-gen-php -i $interop -o $interop $interop/test.proto