aboutsummaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-05-16 14:02:00 +0530
committerGitHub <noreply@github.com>2022-05-16 08:32:00 +0000
commit02144f9077ae2fe0d06d2596408e5759ccd18f78 (patch)
tree78d79d35f29f85960b92de4ee4e7af95ca80356e /gradlew
parent4a5bd337c3b981af3bc5751676571837f672bea7 (diff)
Upgrade to Gradle 7.5 RC1 (#1917)
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew6
1 files changed, 6 insertions, 0 deletions
diff --git a/gradlew b/gradlew
index 1b6c7873..a69d9cb6 100755
--- a/gradlew
+++ b/gradlew
@@ -205,6 +205,12 @@ set -- \
org.gradle.wrapper.GradleWrapperMain \
"$@"
+# Stop when "xargs" is not available.
+if ! command -v xargs >/dev/null 2>&1
+then
+ die "xargs is not available"
+fi
+
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.