|
|
|
@ -15,6 +15,8 @@ |
|
|
|
|
# See the License for the specific language governing permissions and |
|
|
|
|
# limitations under the License. |
|
|
|
|
# |
|
|
|
|
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
############################################################################## |
|
|
|
|
# |
|
|
|
@ -84,7 +86,8 @@ done |
|
|
|
|
# shellcheck disable=SC2034 |
|
|
|
|
APP_BASE_NAME=${0##*/} |
|
|
|
|
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) |
|
|
|
|
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit |
|
|
|
|
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s |
|
|
|
|
' "$PWD" ) || exit |
|
|
|
|
|
|
|
|
|
# Use the maximum available, or set MAX_FD != -1 to use that value. |
|
|
|
|
MAX_FD=maximum |
|
|
|
|