[
https://issues.apache.org/jira/browse/PLC4X-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163013#comment-17163013
]
Otto Fowler commented on PLC4X-176:
-----------------------------------
[~otluk] I am sorry, I forgot what this was ( that I had done a PR even). I
should have closed it when the PR we merged if Chris did't. Next time.
Thanks for looking at it
> Release Tooling - Shell script not running for bash v4
> ------------------------------------------------------
>
> Key: PLC4X-176
> URL: https://issues.apache.org/jira/browse/PLC4X-176
> Project: Apache PLC4X
> Issue Type: Bug
> Reporter: Lukas Ott
> Priority: Trivial
> Attachments: shellcheck-result.txt
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{luk@luk-ubu19:~/Downloads/apache-plc4x-0.6.0/tools$
> ./download_staged_release.sh 0.6.0 2}}
> {{ ./download_staged_release.sh: 38: ./common.sh: Syntax error: "("
> unexpected}}
> {{ luk@luk-ubu19:~/Downloads/apache-plc4x-0.6.0/tools$
> ./download_staged_release.sh 0.6.0 1}}
> {{ ./download_staged_release.sh: 38: ./common.sh: Syntax error: "("
> unexpected}}
> {{ luk@luk-ubu19:~/Downloads/apache-plc4x-0.6.0/tools$}}
> bash 4 tested with:
> {{^{{10052 docker run -it -v `(pwd)`:/root/code ubuntu:bionic bash}}^}}
> {{ ^{{10053 docker run -it -v `(pwd)`:/root/code ubuntu:disco bash}}^}}
> {{ ^{{10054 docker run -it -v `(pwd)`:/root/code centos:7 bash}}^}}
> {{ ^{{10055 docker run -it -v `(pwd)`:/root/code centos:8 bash}}^}}
>
> ^disco uses bash 5^
>
> ^the versionCheck doesn’t work, even if you don’t get the missing ‘)’ error^
--
This message was sent by Atlassian Jira
(v8.3.4#803005)