diff options
| author | Aizistral | 2026-01-27 15:55:50 +0100 |
|---|---|---|
| committer | Aizistral | 2026-01-27 15:55:50 +0100 |
| commit | 5ce84e68d7788ba437ebd2c484b649c8b1b059eb (patch) | |
| tree | ec84fd3ce703845fbd3417c4a7b0f59a2a6ab9e7 /Forge/gradlew | |
| parent | 4138b95d5bb2f7fcab19ba77a1d4e25fc09577d4 (diff) | |
Update all deps and versions for 1.18.2
Diffstat (limited to 'Forge/gradlew')
| -rw-r--r-- | Forge/gradlew | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Forge/gradlew b/Forge/gradlew index c53aefa..a69d9cb 100644 --- a/Forge/gradlew +++ b/Forge/gradlew @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright © 2015-2021 the original authors. +# Copyright © 2015-2021 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -32,10 +32,10 @@ # Busybox and similar reduced shells will NOT work, because this script # requires all of these POSIX shell features: # * functions; -# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», -# «${var#prefix}», «${var%suffix}», and «$( cmd )»; -# * compound commands having a testable exit status, especially «case»; -# * various built-in commands including «command», «set», and «ulimit». +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». # # Important for patching: # @@ -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. |
