BundleUtilities: do not run install_name_tool on scripts

Copying the logic of commit 08be74bf from !2748 (merged), check if a file is a bash script before running install_name_tool on it. Otherwise, the call errors out with file is not a Mach-O file.

Edited by Brad King

Merge request reports

Loading