`cp -l` doesn't work correctly on some macOS versions

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Folks,


I'm shocked to read in

  https://apple.stackexchange.com/questions/464706/why-do-i-get-bad-file-descriptor-when-copying-using-hardlink-flag

that `cp -l` fails for recent macOS versions – a LilyPond user just
confirmed that, too...

What do you recommend to test for and/or to circumvent the issue?


    Werner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.