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 2019/07/29 22:54:28 UTC

[maven] branch MAVEN_OPTS updated: debug mvn shell script

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MAVEN_OPTS
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MAVEN_OPTS by this push:
     new f80c4cb  debug mvn shell script
f80c4cb is described below

commit f80c4cb471cf7916a994a5869bcf4568411c3be6
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue Jul 30 00:54:24 2019 +0200

    debug mvn shell script
---
 apache-maven/src/bin/mvn | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
index e4c9cdb..017c213 100755
--- a/apache-maven/src/bin/mvn
+++ b/apache-maven/src/bin/mvn
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -x
 
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
@@ -190,6 +190,8 @@ export MAVEN_PROJECTBASEDIR
 MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
 export MAVEN_CMD_LINE_ARGS
 
+pwd
+
 exec "$JAVACMD" \
   $MAVEN_OPTS \
   $MAVEN_DEBUG_OPTS \