mirror of https://github.com/apache/maven.git
[MNG-5823] mvnDebug doesn't work with M2_HOME with spaces - missing quotes
This commit is contained in:
parent
fe586467ec
commit
46c1581474
|
@ -31,4 +31,4 @@ MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,addre
|
|||
|
||||
echo Preparing to execute Maven in debug mode
|
||||
|
||||
env MAVEN_OPTS="$MAVEN_OPTS" MAVEN_DEBUG_OPTS="$MAVEN_DEBUG_OPTS" $(dirname $0)/mvn "$@"
|
||||
env MAVEN_OPTS="$MAVEN_OPTS" MAVEN_DEBUG_OPTS="$MAVEN_DEBUG_OPTS" "$(dirname "$0")/mvn" "$@"
|
||||
|
|
|
@ -32,4 +32,4 @@ if [ ! -f "$YJPLIB" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
env MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS" $(dirname $0)/mvn "$@"
|
||||
env MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS" "$(dirname "$0")/mvn" "$@"
|
||||
|
|
Loading…
Reference in New Issue