summaryrefslogtreecommitdiffhomepage
path: root/gradlew
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2022-10-31 15:25:30 -0700
committerJason Penilla <[email protected]>2022-10-31 15:25:30 -0700
commit4a9c9b3fb0bad179c338b086756385f06858f973 (patch)
tree3aabbfca69bb3f48ff262177dceb498ac421e2e8 /gradlew
parent93b2246851da71c9e8286d2bab117fbbd9c4fafe (diff)
downloadPaper-4a9c9b3fb0bad179c338b086756385f06858f973.tar.gz
Paper-4a9c9b3fb0bad179c338b086756385f06858f973.zip
Build updates
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew6
1 files changed, 6 insertions, 0 deletions
diff --git a/gradlew b/gradlew
index 1b6c787337..a69d9cb6c2 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.