diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-06-07 09:33:10 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-06-07 09:33:10 +0200 |
commit | 93f04c528c43b8a06d55f9abe0657d3c1953ffed (patch) | |
tree | 279e28d650103a5367d4794111000b9c9eb3f48d /test/distrib | |
parent | 62950b43c0e751d320a6df3d7f8fcece6f05440e (diff) |
fix test_codegen for mac
Diffstat (limited to 'test/distrib')
-rwxr-xr-x | test/distrib/csharp/test_codegen/test_codegen.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |