aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/pre_build_csharp.sh
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-02-01 08:17:27 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-02-01 08:17:27 -0800
commit03ba4d746a34855c2d6498f23b06f8a0ae6592eb (patch)
tree9035598a15c07b1afaceb0ebaa8663104393760f /tools/run_tests/pre_build_csharp.sh
parentf524844da919716bc5563bd60f33836d7ba78877 (diff)
parentc1fdfec641b2b27c553a8b0bb00b47e56e23bfa1 (diff)
Merge branch 'master' into corelimit2
Diffstat (limited to 'tools/run_tests/pre_build_csharp.sh')
-rwxr-xr-xtools/run_tests/pre_build_csharp.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/run_tests/pre_build_csharp.sh b/tools/run_tests/pre_build_csharp.sh
index 42ff60bea2..4341c0256f 100755
--- a/tools/run_tests/pre_build_csharp.sh
+++ b/tools/run_tests/pre_build_csharp.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2015, Google Inc.
+# Copyright 2015-2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -35,6 +35,11 @@ cd $(dirname $0)/../../src/csharp
root=`pwd`
+if [ -x "$(command -v nuget)" ]
+then
+ nuget restore Grpc.sln
+fi
+
if [ -n "$NUGET" ]
then
$NUGET restore Grpc.sln