aboutsummaryrefslogtreecommitdiff
path: root/generate_descriptor_proto.sh
diff options
context:
space:
mode:
authorKhing <khingblue@gmail.com>2016-09-07 14:46:50 +1000
committerKhing <khingblue@gmail.com>2016-09-07 14:46:50 +1000
commitf9fc56c42ae235b06a7c2d26a7dc1e489d3bd459 (patch)
treea7e5b254adf3322f1c0266b9c400dec607a62a47 /generate_descriptor_proto.sh
parent74638a253ea76baa0aed78491b92d157326295a6 (diff)
downloadprotobuf-f9fc56c42ae235b06a7c2d26a7dc1e489d3bd459.tar.gz
protobuf-f9fc56c42ae235b06a7c2d26a7dc1e489d3bd459.tar.bz2
protobuf-f9fc56c42ae235b06a7c2d26a7dc1e489d3bd459.zip
Fix #2071 replacing /bin/sh with bash
On Ubuntu /bin/sh is dash by default, this can cause generate_descriptor_proto.sh fail to execute.
Diffstat (limited to 'generate_descriptor_proto.sh')
-rwxr-xr-xgenerate_descriptor_proto.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_descriptor_proto.sh b/generate_descriptor_proto.sh
index c170c837..668e6d13 100755
--- a/generate_descriptor_proto.sh
+++ b/generate_descriptor_proto.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
# Run this script to regenerate descriptor.pb.{h,cc} after the protocol
# compiler changes. Since these files are compiled into the protocol compiler