From 24a5a0b461e500ede89515e497c712d46402be57 Mon Sep 17 00:00:00 2001 From: Joe Garcia <joe.garcia@ssec.wisc.edu> Date: Thu, 16 Jan 2014 12:49:36 -0600 Subject: [PATCH] fix bin links for rpath use --- ShellB3/shallbethree.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh index 7f0e397f..663dd2da 100755 --- a/ShellB3/shallbethree.sh +++ b/ShellB3/shallbethree.sh @@ -2161,14 +2161,14 @@ relocate() { cp -f sbin/rpath bin/rpath for fn in bin/* ; do ft=$(file "$fn" |grep "script text") - if [ -n "$ft" ]; then + if [ -f "$ft" ]; then repair_script "${BASE}" "$fn" fi done if [ -d Library/Frameworks/Python.framework ] ; then for fn in Library/Frameworks/Python.framework/Versions/2.7/bin/*; do ft=$(file "$fn" |grep "script text") - if [ -n "$ft" ]; then + if [ -f "$ft" ]; then repair_script "${BASE}/Library/Frameworks/Python.framework/Versions/2.7" "$fn" fi done -- GitLab