]> git.ipfire.org Git - thirdparty/coreutils.git/commit
install: support stripping files with a leading hyphen
authorPádraig Brady <P@draigBrady.com>
Fri, 21 Apr 2023 18:07:02 +0000 (19:07 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 21 Apr 2023 18:13:52 +0000 (19:13 +0100)
commit6bab375973e62e9fcc0b41451d637134073e3007
tree9d4f445e56585b7f2c482ab939c39884d37c63c3
parentf6229adb09b9ace9bd0034a2c228fcee224c0563
install: support stripping files with a leading hyphen

* src/install.c (strip): Prepend "./" to file names with a leading "-".
* tests/install/strip-program.sh: Add a test case.
* NEWS: Mention the bug fix.
Reported in https://bugs.debian.org/1034429
NEWS
src/install.c
tests/install/strip-program.sh