[ 
https://issues.apache.org/jira/browse/QPID-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925592#comment-13925592
 ] 

Jan Bareš commented on QPID-5604:
---------------------------------

When I convert script to Unix line endings, it works on Cygwin too, thanks.

> Bash scripts doesn't support Cygwin
> -----------------------------------
>
>                 Key: QPID-5604
>                 URL: https://issues.apache.org/jira/browse/QPID-5604
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tools
>         Environment: Windows with Cygwin
>            Reporter: Jan Bareš
>            Priority: Trivial
>
> Under Cygwin the scripts like bin/QpidRestAPI.sh pass Cygwin related path to 
> windows program (Java) and also Unix classpath separator. Adding support for 
> Cygwin is easy:
> {noformat}
> cygwin=false;
> case "`uname`" in
>   CYGWIN*) cygwin=true;;
> esac
> if $cygwin; then
>   CLASSPATH=$(cygpath -wp $CLASSPATH)
> fi
> {noformat}
> Something similar can be done for Mac's Darwin, but I cannot test it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to