mirror of https://github.com/jenv/jenv.git
Browse Source
options. Besides, when trying to set exportedKey[MAVEN_OPTS] as MAVEN_OPTS is already set, MAVEN_OPTS as the key is expanded, resulting in an error message: -Xmx1g -XX:MaxPermSize=256m: syntax error in expression (error token is ":MaxPermSize=256m")pull/11/head
1 changed files with 5 additions and 3 deletions
@ -1,4 +1,6 @@
@@ -1,4 +1,6 @@
|
||||
if [ "$1" = "mvn" ]; then |
||||
exportVariable MAVEN_OPTS $JENV_OPTIONS |
||||
unset JENV_OPTIONS |
||||
fi |
||||
if [ -n "$JENV_OPTIONS" -a -z "$MAVEN_OPTS" ]; then |
||||
exportVariable MAVEN_OPTS $JENV_OPTIONS |
||||
unset JENV_OPTIONS |
||||
fi |
||||
fi |
||||
|
||||
Loading…
Reference in new issue