Darwin bindists do not install wrappers correctly
We are using cp -P
to copy symlinks for the wrappers in to the correct place but on darwin this was following the symlink and copying the wrapper.
Apparently the cp
utility on macs ignores -P
unless -R
is also passed so the fix is to pass both -R and -P
on all platforms.
Worryingly CI is not affected by this, probably a result of #20131 (closed)