diff options
Diffstat (limited to 'examples/gradle/dokka-gradle-example/gradlew')
-rwxr-xr-x | examples/gradle/dokka-gradle-example/gradlew | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/gradle/dokka-gradle-example/gradlew b/examples/gradle/dokka-gradle-example/gradlew index 1b6c7873..a69d9cb6 100755 --- a/examples/gradle/dokka-gradle-example/gradlew +++ b/examples/gradle/dokka-gradle-example/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. |