From 93f04c528c43b8a06d55f9abe0657d3c1953ffed Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Thu, 7 Jun 2018 09:33:10 +0200 Subject: fix test_codegen for mac --- test/distrib/csharp/test_codegen/test_codegen.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/distrib') diff --git a/test/distrib/csharp/test_codegen/test_codegen.sh b/test/distrib/csharp/test_codegen/test_codegen.sh index 21ccb7e6c3..f91959ea07 100755 --- a/test/distrib/csharp/test_codegen/test_codegen.sh +++ b/test/distrib/csharp/test_codegen/test_codegen.sh @@ -20,7 +20,10 @@ cd "$(dirname "$0")" ls -lR "../packages/Grpc.Tools.__GRPC_NUGET_VERSION__/tools" PLATFORM_ARCH=linux_x64 -if [ "$(getconf LONG_BIT)" == "32" ] +if [ "$(uname)" == "Darwin" ] +then + PLATFORM_ARCH=macosx_x64 +elif [ "$(getconf LONG_BIT)" == "32" ] then PLATFORM_ARCH=linux_x86 fi -- cgit v1.2.3