diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh index 4cb5ac0ce338b6c54a0c01b6412c2281fa45e926..865b2972dda617292cbe7fa2d8ea7b353e620b91 100755 --- a/ShellB3/shallbethree.sh +++ b/ShellB3/shallbethree.sh @@ -2253,11 +2253,11 @@ scan_elfs() { } bundle_bins() { - for f in $( find lib* Library -name "*.egg" -type f | grep $( uname -m ) ) ; do #unzip any binary installed egg so we can repath - mv "$f" "$(basename "$f")" - bin/easy_install -Z "$(basename "$f")" #FIXME get version number of easy_install for py3 systems - rm -f "$(basename "$f")" - done + if [ -e bin/easy_install ] ; then + for f in $( find lib* Library -name "*.egg" -type f | grep $( uname -m ) ) ; do #unzip any binary installed egg so we can repath + mv "$f" "$(basename "$f")" && bin/easy_install -Z "$(basename "$f")" && rm -f "$(basename "$f")" + done + fi case "$(uname -s)" in Darwin) ( mk_macholib && bundle_machos ) || oops "Bundle failed"