From 70587585d27a0970a060ab525a54b2a4f36ea2a2 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 22 Jan 2019 23:56:11 +0100 Subject: [PATCH] fix osx_find_dependencies.sh for path containing "/usr/lib" --- tools/osx_find_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/osx_find_dependencies.sh b/tools/osx_find_dependencies.sh index 6052950a..8e0a78af 100755 --- a/tools/osx_find_dependencies.sh +++ b/tools/osx_find_dependencies.sh @@ -14,7 +14,7 @@ if [ $# -ne 1 ] ; then fi #list=$(otool -L $1 | sed '1d' | grep -v libSystem.B | grep -v /System/Library | grep -v $1 | cut -f 2 | cut -d' ' -f 1) -list=$(otool -L $1 | sed '1d' | grep -v /usr/lib/lib | grep -v /System/Library | grep -v $1 | cut -f 2 | cut -d' ' -f 1) +list=$(otool -L $1 | sed '1d' | cut -f 2 | grep -v ^/usr/lib/lib | grep -v ^/System/Library | grep -v $1 | cut -d' ' -f 1) #echo "$1 => $list" >&2