You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/01 22:50:08 UTC
[jira] Commented: (MAVEN-1406) maven shell script doesn't work under cygwin
The following comment has been added to this issue:
Author: Felipe Leme
Created: Wed, 1 Sep 2004 4:49 PM
Body:
It works for me (not sure what't the cygwin version though)...
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1406?page=comments#action_23690
---------------------------------------------------------------------
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: Wed, 1 Sep 2004 4:49 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org