diff --git a/mac-create-app-bundle.sh b/mac-create-app-bundle.sh index 8eb3598..e517657 100755 --- a/mac-create-app-bundle.sh +++ b/mac-create-app-bundle.sh @@ -59,7 +59,7 @@ while [ $found -ne 0 ]; do cd "${target}" for file in $(find . -type f); do for lib in $(otool -L ${file} | tail -n +2 \ - | egrep '/usr/local/|/opt/local/|'"${HOME}" \ + | egrep '/usr/local/|/opt/local/|/opt/X11/|'"${HOME}" \ | grep -v $file | awk '{print $1}'); do found=1 test -f ${lib##*/} \ diff --git a/scripts/mac-create-app-bundle.sh b/scripts/mac-create-app-bundle.sh index 8eb3598..e517657 100755 --- a/scripts/mac-create-app-bundle.sh +++ b/scripts/mac-create-app-bundle.sh @@ -59,7 +59,7 @@ while [ $found -ne 0 ]; do cd "${target}" for file in $(find . -type f); do for lib in $(otool -L ${file} | tail -n +2 \ - | egrep '/usr/local/|/opt/local/|'"${HOME}" \ + | egrep '/usr/local/|/opt/local/|/opt/X11/|'"${HOME}" \ | grep -v $file | awk '{print $1}'); do found=1 test -f ${lib##*/} \