darwin: fix *_cmds installation

These just copy commands from Products/Release/. But with #52256 we
now build .dsym directories that somehow wind up in Products/Release/.
This makes things more exact by just copying the files in Products/Release/.
This commit is contained in:
Matthew Bauer
2018-12-29 23:58:10 -06:00
parent d0dc91d24f
commit 4f522648cb
8 changed files with 37 additions and 16 deletions
@@ -22,8 +22,10 @@ appleDerivation {
installPhase = ''
install -D Products/Release/libdisk.a $out/lib/libdisk.a
rm Products/Release/libdisk.a
for bin in Products/Release/*; do
install -D $bin $out/bin/$(basename $bin)
for f in Products/Release/*; do
if [ -f $f ]; then
install -D $file $out/bin/$(basename $f)
done
done
'';