1 fixupOutputHooks
+=('checkTbdReexports')
6 while IFS
= read -r -d $
'\0' tbd
; do
7 echo "checkTbdRexports: checking re-exports in $tbd"
8 while read -r target
; do
9 local expected
="${target%.dylib}.tbd"
10 if ! [ -e "$expected" ]; then
11 echo -e "Re-export missing:\n\t'$target'\n\t(expected '$expected')"
12 echo -e "While processing\n\t'$tbd'"
15 echo "Re-exported target '$target' ok"
17 done < <(print-reexports
"$tbd")
18 done < <(find $prefix -type f
-name '*.tbd' -print0)