diff options
-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 |