Compatibility with stupid versions of sed that don't recognize \t and \s
This commit is contained in:
parent
77d3f06a56
commit
da4f156c71
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ rm -vf "$DYLIB_PATH"/*.dylib
|
|||
declare -A handled_libs
|
||||
|
||||
function handle_dylibs {
|
||||
for lib in $($otool -L "$1" | sed -e '/:$/d' -e 's/\s*//' -e 's/\s.*//' -e '/libSystem/d' -e '/.*\.dylib/!d' -e '/^\/usr\//d' | sort | uniq); do
|
||||
for lib in $($otool -L "$1" | sed -e '/:$/d' -e 's/[[:blank:]]*//' -e 's/[[:blank:]].*//' -e '/libSystem/d' -e '/.*\.dylib/!d' -e '/^\/usr\//d' | sort | uniq); do
|
||||
libpath="$OSX_ROOT$lib"
|
||||
libname="${lib##*/}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue