aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/helper_scripts/build_csharp.sh
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2017-12-15 16:17:19 -0800
committerGravatar GitHub <noreply@github.com>2017-12-15 16:17:19 -0800
commit336bce09d4e902ec47a46ecc9d333f954825dc8b (patch)
treea75b3a0e5fab0d049ba83eaf204e900fe50e9f7a /tools/run_tests/helper_scripts/build_csharp.sh
parent28839ce3a8bfe1c83017b8045a131698f1a8c904 (diff)
parent290bbd2111fb7069c89cd154965a4dc78b63c95f (diff)
Merge pull request #11622 from mehrdada/shellckec
Fix tools/run_tests/helper_scripts/*.sh to pass shellcheck
Diffstat (limited to 'tools/run_tests/helper_scripts/build_csharp.sh')
-rwxr-xr-xtools/run_tests/helper_scripts/build_csharp.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/run_tests/helper_scripts/build_csharp.sh b/tools/run_tests/helper_scripts/build_csharp.sh
index ec0a441f56..c6bee82b44 100755
--- a/tools/run_tests/helper_scripts/build_csharp.sh
+++ b/tools/run_tests/helper_scripts/build_csharp.sh
@@ -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