aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/zip_output_unittest.sh
diff options
context:
space:
mode:
authorkenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2010-01-04 20:03:09 +0000
committerkenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2010-01-04 20:03:09 +0000
commitc619a3da2ab251eb0eba148413981b6d7114a1d9 (patch)
tree4178034d34fae3f7128d96e109ee2daff607cdc6 /src/google/protobuf/compiler/zip_output_unittest.sh
parentfe7314e0cc74268d3736d93bf23f1fe9633eb9ca (diff)
downloadprotobuf-c619a3da2ab251eb0eba148413981b6d7114a1d9.tar.gz
protobuf-c619a3da2ab251eb0eba148413981b6d7114a1d9.tar.bz2
protobuf-c619a3da2ab251eb0eba148413981b6d7114a1d9.zip
Fix syntax of function definition in shell script so that it hopefully works on Solaris.
Diffstat (limited to 'src/google/protobuf/compiler/zip_output_unittest.sh')
-rwxr-xr-xsrc/google/protobuf/compiler/zip_output_unittest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/zip_output_unittest.sh b/src/google/protobuf/compiler/zip_output_unittest.sh
index 76b24089..fac27257 100755
--- a/src/google/protobuf/compiler/zip_output_unittest.sh
+++ b/src/google/protobuf/compiler/zip_output_unittest.sh
@@ -34,7 +34,7 @@
#
# Test protoc's zip output mode.
-function fail() {
+function fail {
echo "$@" >&2
exit 1
}