diff options
Diffstat (limited to 'gradlew')
-rwxr-xr-x | gradlew | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -205,6 +205,12 @@ set -- \ | |||
205 | org.gradle.wrapper.GradleWrapperMain \ | 205 | org.gradle.wrapper.GradleWrapperMain \ |
206 | "$@" | 206 | "$@" |
207 | 207 | ||
208 | # Stop when "xargs" is not available. | ||
209 | if ! command -v xargs >/dev/null 2>&1 | ||
210 | then | ||
211 | die "xargs is not available" | ||
212 | fi | ||
213 | |||
208 | # Use "xargs" to parse quoted args. | 214 | # Use "xargs" to parse quoted args. |
209 | # | 215 | # |
210 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. | 216 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. |