Skip to content

[MNG-6850] Prevent printing the EXEC_DIR when it's just a disk letter #8445

@jira-importer

Description

@jira-importer

Rostislav Krasny opened MNG-6850 and commented

When you're on the root of some disk running mvn.cmd prints an extra line with current dir before the correct output.
For example:

D:>mvn -version
D:
Apache Maven 3.6.3 (cecedd3)
Maven home: D:\develop\apache-maven-3.6.3\bin..
Java version: 11.0.5, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.5
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"


Affects: 3.6.3

Remote Links:

Backported to: 4.0.0-alpha-2, 3.8.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:trivialCosmetic problem like misspelled words or misaligned text

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions