X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/07742843df5633c800f8bc9106717adc2a0a93a8..b6e9dfa97d64fe60be9405f9f714d10eece9673f:/gradlew 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.