Is this line best?
Code:
+ find `find . -name MacOS ` -type f |xargs chmod a+x
2 finds, looking for files named "MacOS" or in directories named "MacOS"?
Wouldn't chmod -R be better than a 2nd find?
Looking in Lust Epidemic, I found this:
./Contents/MacOS
./Contents/Frameworks/nwjs Helper.app/Contents/MacOS
./Contents/Frameworks/nwjs Helper NP.app/Contents/MacOS
./Contents/Frameworks/nwjs Helper EH.app/Contents/MacOS
I could add in
chmod -R +x Frameworks/*/Contents/MacOS
and dispense with the find completely.
Forgot to tag
buff to get his reply. Hopefully it won't include a bunch of MK 84s!