Fix build_csharp.sh to pass shellcheck

This commit is contained in:
Mehrdad Afshari 2017-06-27 11:44:07 -07:00
parent 3bfa56fcea
commit 0ccd3af0e8
1 changed files with 3 additions and 3 deletions

View File

@ -15,12 +15,12 @@
set -ex
cd $(dirname $0)/../../../src/csharp
cd "$(dirname "$0")/../../../src/csharp"
if [ "$CONFIG" == "gcov" ]
then
# overriding NativeDependenciesConfigurationUnix makes C# project pick up the gcov flavor of grpc_csharp_ext
dotnet build --configuration $MSBUILD_CONFIG /p:NativeDependenciesConfigurationUnix=gcov Grpc.sln
dotnet build --configuration "$MSBUILD_CONFIG" /p:NativeDependenciesConfigurationUnix=gcov Grpc.sln
else
dotnet build --configuration $MSBUILD_CONFIG Grpc.sln
dotnet build --configuration "$MSBUILD_CONFIG" Grpc.sln
fi