From 91adba83509212df48d0236c7abf32a0718958dd Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Fri, 22 Apr 2016 10:40:35 -0700 Subject: [PATCH] Also up the ulimit on Linux during restore (#10768) --- build/scripts/restore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/scripts/restore.sh b/build/scripts/restore.sh index 81731e62a82..6160396e35d 100755 --- a/build/scripts/restore.sh +++ b/build/scripts/restore.sh @@ -8,7 +8,8 @@ export HOME=$(cd ~ && pwd) # NuGet often exceeds the limit of open files on Mac # https://github.com/NuGet/Home/issues/2163 -if [ "$(uname -s)" == "Darwin" ] +OS=$(uname -s) +if [ "$OS" == "Darwin" || "$OS" == "Linux" ] then ulimit -n 6500 fi -- GitLab