fix test_codegen for mac

pull/15669/head
Jan Tattermusch 7 years ago
parent 62950b43c0
commit 93f04c528c
  1. 5
      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

Loading…
Cancel
Save