diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh
index 7f0e397ff5db5b618c6859731222c3a2619fdc09..663dd2da92059979bf867a8b1bd45d3a0ef3b077 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