Ondrej Zizka created MNG-5489:
---------------------------------
Summary: Startup doesn't fail gracefully if shell CWD is in non-existent dir.
Key: MNG-5489
URL: https://jira.codehaus.org/browse/MNG-5489
Project: Maven 2 & 3
Issue Type: Bug
Components: Bootstrap & Build, Command Line
Affects Versions: 3.0.4
Reporter: Ondrej Zizka
A sequence of commands which ends up executing maven from a formerly existing dir produces
the error below.
{code}
cd target/classes
mvn clean ## From other console
mvn build
{code}
{code}
ondra@lenovo:~/work/AS/Migration/git-repo/target/as-dist$ mvn deploy -DskipTests
shell-init: error retrieving current directory: getcwd: cannot access parent directories:
No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such
file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such
file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such
file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such
file or directory
malloc: ../../bash/builtins/../../bash/builtins/cd.def:501: assertion botched
free: start and end chunk sizes differ
Aborting...Aborted (core dumped)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|