1 postFixupHooks
+=(signDarwinBinariesInAllOutputs
)
3 # Uses signingUtils, see definition of autoSignDarwinBinariesHook in
6 signDarwinBinariesIn
() {
9 if [ ! -d "$dir" ]; then
13 if [ "${darwinDontCodeSign:-}" ]; then
19 while IFS
= read -r -d $
'\0' f
; do
21 done < <(find "$dir" -type f
-print0)
24 # Apply fixup to each output.
25 signDarwinBinariesInAllOutputs
() {
28 for output
in $
(getAllOutputNames
); do
29 signDarwinBinariesIn
"${!output}"