Skip to content

Commit

Permalink
Use GRADLE_OPTS in environment variable
Browse files Browse the repository at this point in the history
Commit 5af1f14 results in the GRADLE_OPTS environment variable being ignored.

Fixes #19
  • Loading branch information
candrews authored Mar 25, 2021
1 parent 25d7e47 commit 8975fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gng
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ gradle() {
(
# Restore shell options
eval "${SAVED_OPTS}"
GRADLE_OPTS=$(cfg_get GRADLE_OPTS)
GRADLE_OPTS="$(cfg_get GRADLE_OPTS) ${GRADLE_OPTS:-}"
export GRADLE_OPTS
exec "${gradle}" "$@"
)
Expand Down

0 comments on commit 8975fbd

Please sign in to comment.