Skip to content

's' in package names is replaced with comma on MacOS #1

Description

@andy-maier

The regular expression used in the action.yml file:

      PKGS=$( \
        echo '${{ steps.bindep.outputs.packages }}' \
        | \
        sed 's#\(^\s\+\|\s\+$\)##g;s#\s#\,#g' \
      )

does not work with the "sed" command in MacOS.

For example, it replaces "s" with comma:

$ echo 'libxslt' | sed 's#\(^\s\+\|\s\+$\)##g;s#\s#\,#g'
libx,lt

Log file: https://github.com/pywbem/pywbem/actions/runs/9377087850/job/25818072248#step:11:108

It also does not strip blanks:

$ echo ' libxml2' | sed 's#\(^\s\+\|\s\+$\)##g;s#\s#\,#g'
 libxml2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions