The following comment has been added to this issue:
Author: Mark Hobson
Created: Fri, 17 Sep 2004 4:33 PM
Body:
Still breaks for me - ensure you haven't got MAVEN_HOME set in your environment.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1406?page=comments#action_24201
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1406
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1406
Summary: maven shell script doesn't work under cygwin
Type: Bug
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
cli
Versions:
1.0
Assignee:
Reporter: Mark Hobson
Created: Mon, 26 Jul 2004 8:10 AM
Updated: Fri, 17 Sep 2004 4:33 PM
Environment: Windows XP, cygwin
Description:
When running maven under cygwin without MAVEN_HOME set, the following shell script
errors occur:
dirname: too many arguments
Try `dirname --help' for more information.
cd: can't cd to /cygdrive/c/Documents
This is simply fixed as follows:
maven:
64c64
< cd `dirname $PRG`
---
> cd "`dirname "$PRG"`"
81c81
< cd $saveddir
---
> cd "$saveddir"
I haven't been able to test this under linux, but it should work.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]