diff options
-rwxr-xr-x | strip_files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strip_files b/strip_files index 43ab258..2df2a8b 100755 --- a/strip_files +++ b/strip_files @@ -21,7 +21,7 @@ my $exclude_pattern = join('|', $exclude_pattern = qr/$exclude_pattern/; my (@shared_libs, @executables, @static_libs); -find(\&testfile, $buildroot); +find(\&keep_wanted, $buildroot); system( "strip", @@ -38,7 +38,7 @@ sub expensive_test { # Check if a file is an elf binary, shared library, or static library, # for use by File::Find. It'll fill the following 3 arrays with anything # it finds: -sub testfile() { +sub keep_wanted() { # skip symlinks return if -l $_; # skip directories |