aboutsummaryrefslogtreecommitdiff
path: root/csharp/generate_protos.sh
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2016-02-15 10:33:13 +0000
committerJon Skeet <jonskeet@google.com>2016-02-15 10:33:13 +0000
commit957e877d523cadd7b454c38789b6ff757796cee8 (patch)
treeceb8a5dfda587f6293ae74687d81f6ce66cac037 /csharp/generate_protos.sh
parente35e24800fb8d694bdeea5fd63dc7d1b14d68723 (diff)
downloadprotobuf-957e877d523cadd7b454c38789b6ff757796cee8.tar.gz
protobuf-957e877d523cadd7b454c38789b6ff757796cee8.tar.bz2
protobuf-957e877d523cadd7b454c38789b6ff757796cee8.zip
Generate C# code whenever descriptor.proto changes
This is a start to fixing issue #1212. It won't help for test protos, conformance etc, but it will definitely be better than nothing, and would have highlighted a change in descriptor.proto which broken C# earlier.
Diffstat (limited to 'csharp/generate_protos.sh')
-rwxr-xr-xcsharp/generate_protos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/generate_protos.sh b/csharp/generate_protos.sh
index 9899097d..d979aa52 100755
--- a/csharp/generate_protos.sh
+++ b/csharp/generate_protos.sh
@@ -6,7 +6,7 @@
set -ex
# cd to repository root
-cd $(dirname $0)/..
+pushd $(dirname $0)/..
# Protocol buffer compiler to use. If the PROTOC variable is set,
# use that. Otherwise, probe for expected locations under both