forked from gradle/gradle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
gradlew
execution for non-standard systems
On older Solaris versions and other systems where `/bin/sh` is not a POSIX-compliant shell, the shell syntax used by the wrapper script fails on certain constructs. Fix those cases where the wrapper script was doing some things not supported on the older non-POSIX shells: using backticks instead of `$()`, changing the syntax of the `case` statement, and using `expr` instead of arithmetic expansion. Resolves: gradle#2903
- Loading branch information
1 parent
76bdbbe
commit 3edfbe0
Showing
2 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters