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

John Wagenleitner commented on GROOVY-7906:
-------------------------------------------

I believe that will delete lines 274 through 275 from the file:

https://github.com/apache/groovy/blob/042950dc23257bbc65cd2258f2fd2a197a98f802/src/bin/startGroovy#L274-L275

What is odd is that it should only execute those lines if cygwin is detected, 
but at least on Alpine 3.4.3 the {{`uname`}} command returns just "Linux" for 
me.  Would be interested to know what it returns for you [~typek_pb]

> groovy-2.4.7/bin/startGroovy: line 275: syntax error: bad substitution
> ----------------------------------------------------------------------
>
>                 Key: GROOVY-7906
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7906
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.7
>         Environment: Alpine linux (=> no bash, busybox only)
>            Reporter: Peter B.
>
> running groovy in alpine linux results in:
> {code}
> /tmp/groovy-2.4.7/bin/startGroovy: line 275: syntax error: bad substitution
> {code}
> as a workaround I'm running:
> {code}
> sed -ie '274,275d' /tmp/groovy-2.4.7/bin/startGroovy
> {code}
> prior to invoking groovy



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to