hadrian: Fix binary distribution install attributes
Previously we would use plain cp
to install various parts of the
binary distribution. However, cp
's behavior w.r.t. file attributes is
quite unclear, causing breakage when a binary distribution was installed
in an environment with an atypical umask; for this reason it is much better to rather use
install
.
Fixes #21965 (closed).
Edited by Ben Gamari