[
https://issues.apache.org/jira/browse/GROOVY-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432614#comment-15432614
]
Serge commented on GROOVY-7906:
-------------------------------
Exact same problem for me, running (or willing to run) groovy inside a docker
container based on alpine, same error.
My envs are out of the box :
{quote}
[ root@c4e4ab3a291b:/opt/groovy/bin ]$ echo $BASH
/bin/bash
[ root@c4e4ab3a291b:/opt/groovy/bin ]$ uname
Linux
[ root@c4e4ab3a291b:/opt/groovy/bin ]$ uname -a
Linux c4e4ab3a291b 4.4.16-1-lts #1 SMP Thu Jul 28 16:21:18 CEST 2016 x86_64
Linux
{quote}
> 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)