Skip to content

install: no output when running -s --strip-program #5718

@cakebaker

Description

@cakebaker

While reviewing #5697, I noticed that GNU install outputs ./-dest when running install -s --strip-program ./no-hyphen -- source -dest whereas uutils install doesn't output anything.

The no-hyphen program is (from test_install_and_strip_with_program_hyphen):

#!/bin/sh
printf -- '%s\n' "$1" | grep '^[^-]'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions