You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/02/08 22:48:59 UTC

[2/2] maven git commit: [MNG-6282] removed workaround for MingW/GitBash detection

[MNG-6282] removed workaround for MingW/GitBash detection

see https://github.com/fusesource/jansi-native/issues/11

Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/6bbbd128
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/6bbbd128
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/6bbbd128

Branch: refs/heads/MNG-6320_jansi-1.17
Commit: 6bbbd12842248ca1ce86bc5d1cc176ed86d45747
Parents: 32cbde0
Author: Hervé Boutemy <hb...@apache.org>
Authored: Thu Feb 8 23:48:49 2018 +0100
Committer: Hervé Boutemy <hb...@apache.org>
Committed: Thu Feb 8 23:48:49 2018 +0100

----------------------------------------------------------------------
 apache-maven/src/bin/mvn | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/6bbbd128/apache-maven/src/bin/mvn
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
index e3a5848..fa6164b 100755
--- a/apache-maven/src/bin/mvn
+++ b/apache-maven/src/bin/mvn
@@ -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 \