mirror of https://github.com/apache/maven.git
[MNG-6282] removed workaround for MingW/GitBash detection
see https://github.com/fusesource/jansi-native/issues/11
This commit is contained in:
parent
916839528c
commit
e2bc17b508
|
@ -188,14 +188,6 @@ export MAVEN_PROJECTBASEDIR
|
|||
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
|
||||
export MAVEN_CMD_LINE_ARGS
|
||||
|
||||
# detect cygwin or mingw pseudo-terminal for Jansi
|
||||
# workaround for https://github.com/fusesource/jansi-native/issues/11
|
||||
if $cygwin || $mingw; then
|
||||
if [ -t 1 ]; then
|
||||
MAVEN_OPTS="-Djansi.passthrough=true $MAVEN_OPTS"
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" \
|
||||
$MAVEN_OPTS \
|
||||
$MAVEN_DEBUG_OPTS \
|
||||
|
|
Loading…
Reference in New Issue