[GRADLE-3583] Newlines in JAVA_OPTS breaks application plugin shell script in Gradle 3.2 Created: 18/Nov/16 Updated: 23/Nov/16 Resolved: 18/Nov/16 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 3.2 |
| Fix Version/s: | 3.2.1-rc-1, 3.2.1 |
| Type: | Bug | ||
| Reporter: | Eric Wendelin | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Known Issue Of: |
| Description |
|
When using environment variables with newlines, for instance JAVA_OPTS, then the eval command in the generated application script fails. Expected Behavior Current Behavior Fails with exit code 1 Steps to Reproduce (for bugs) ```bash Your Environment ```bash ------------------------------------------------------------ Build time: 2016-11-14 12:32:59 UTC Groovy: 2.4.7 Worked correctly in Gradle 3.1 |
| Comments |
| Comment by Eric Wendelin [ 18/Nov/16 ] |
|
Resolved by https://github.com/gradle/gradle/commit/b0fb42928c9d95a389962e2252e8efb0fe0b9fde |