Skip to content

unrecognized option strip-trailing-cr #11

Open

Description

@JulienBe

https://github.com/bulkan/robotframework-difflibrary/blob/b4fc3b7e12b5bc630cf763b95e34732ad59fb4af/src/DiffLibrary/keywords.py#L30

It's causing an issue with the robotframework/rfdocker docker image

diff: unrecognized option: strip-trailing-cr
BusyBox v1.28.4 (2018-12-06 15:13:21 UTC) multi-call binary.

Maybe a flag to make it optional ?

As a dirty fix RUN sed -i "s/diff --strip-trailing-cr/diff/" /usr/local/lib/python3.6/site-packages/DiffLibrary/keywords.py did the trick

Activity

  1. vovtz commented on Apr 2, 2020

    @vovtz

    Same problem starting with version 3.5.0 of the ppodgorsek/docker-robot-framework Docker image. That maintainer also switched to Alpine Linux. Above mentioned work-around now needs python3.7 in the path instead, but for less dependency I’d recommend:

    RUN sed -i "s/diff --strip-trailing-cr/diff/" /usr/local/lib/python3.*/site-packages/DiffLibrary/keywords.py
  2. bulkan commented on Apr 3, 2020

    @bulkan
    Collaborator

    Ahh sure, I haven't touched this library in years. I'm happy to add either of you as collaborators?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions