You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Lukas Ott (Jira)" <ji...@apache.org> on 2020/07/22 17:30:00 UTC

[jira] [Commented] (PLC4X-176) Release Tooling - Shell script not running for bash v4

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

Lukas Ott commented on PLC4X-176:
---------------------------------

[~otto] I think we can close this topic right?

> 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)