Created
February 9, 2016 10:17
-
-
Save grigorye/25dbfe64e6d91db21817 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- orig/symbolicatecrash 2015-11-12 01:00:25.000000000 +0100 | |
+++ new/symbolicatecrash 2016-02-09 11:12:09.000000000 +0100 | |
@@ -238,7 +238,7 @@ | |
} | |
#Find any naked executables | |
- $cmd = "mdfind \"kMDItemContentType == public.unix-executable && kMDItemDisplayName == '$exec_name'\""; | |
+ $cmd = "mdfind \"( kMDItemContentType == public.unix-executable || kMDItemContentType == public.data ) && ( kMDItemDisplayName == '$exec_name' )\""; | |
print STDERR "Running $cmd\n" if $opt{v}; | |
foreach my $exec_file (split(/\n/, `$cmd`)) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment