aboutsummaryrefslogtreecommitdiffstats
path: root/gradlew
diff options
context:
space:
mode:
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew4
1 files changed, 2 insertions, 2 deletions
diff --git a/gradlew b/gradlew
index 65dcd68d..79a61d42 100755
--- a/gradlew
+++ b/gradlew
@@ -144,7 +144,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144 case $MAX_FD in #( 144 case $MAX_FD in #(
145 max*) 145 max*)
146 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. 146 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147 # shellcheck disable=SC3045 147 # shellcheck disable=SC3045
148 MAX_FD=$( ulimit -H -n ) || 148 MAX_FD=$( ulimit -H -n ) ||
149 warn "Could not query maximum file descriptor limit" 149 warn "Could not query maximum file descriptor limit"
150 esac 150 esac
@@ -152,7 +152,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
152 '' | soft) :;; #( 152 '' | soft) :;; #(
153 *) 153 *)
154 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. 154 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155 # shellcheck disable=SC3045 155 # shellcheck disable=SC3045
156 ulimit -n "$MAX_FD" || 156 ulimit -n "$MAX_FD" ||
157 warn "Could not set maximum file descriptor limit to $MAX_FD" 157 warn "Could not set maximum file descriptor limit to $MAX_FD"
158 esac 158 esac