From c619a3da2ab251eb0eba148413981b6d7114a1d9 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Mon, 4 Jan 2010 20:03:09 +0000 Subject: Fix syntax of function definition in shell script so that it hopefully works on Solaris. --- src/google/protobuf/compiler/zip_output_unittest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/google/protobuf/compiler/zip_output_unittest.sh') 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 } -- cgit v1.2.3