Skip to content

build-gnu: Duplicated sed hacks for tr? #9469

@oech3

Description

@oech3

sed -i 's| tr | /usr/bin/tr |' tests/init.sh

coreutils/util/build-gnu.sh

Lines 348 to 352 in b4423b9

# Most tests check that `/usr/bin/tr` is working correctly before running.
# However in NixOS/Nix-based distros, the tr util is located somewhere in
# /nix/store/xxxxxxxxxxxx...xxxx/bin/tr
# We just replace the references to `/usr/bin/tr`
sed -i 's/\/usr\/bin\/tr/$(command -v tr)/' tests/init.sh

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