Without this fix, the fixup script misses any non-system dependencies that are not in the /Users or /opt directories. Closes jp9000/obs-studio#618
@@ -9,7 +9,9 @@ cd "$1"
function buildlist() {
otool -L "$@" |
- grep -E "(opt|Users)" |
+ grep -E '^\s+/' |
+ grep -vE '^\s+/System/' |
+ grep -vE '^\s+/usr/lib/' |
perl -pe 's|^\s+(/.*)\s\(.*$|$1|' |
grep -vE ":$" |
sort -u