From ddc48153a58b1f8f852ba6610802effc7d94c6c5 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Wed, 14 May 2008 08:54:21 +0000 Subject: return of the explicit symlink test during file recursion, as previous commit make them accepted --- strip_and_check_elf_files | 2 ++ 1 file changed, 2 insertions(+) (limited to 'strip_and_check_elf_files') diff --git a/strip_and_check_elf_files b/strip_and_check_elf_files index 2f56bc0..e5e2490 100755 --- a/strip_and_check_elf_files +++ b/strip_and_check_elf_files @@ -59,6 +59,8 @@ sub expensive_test { sub keep_wanted() { # skip everything but files return unless -f $_; + # skip symlinks + return if -l $_; # Does its filename look like a shared library? if (m/\.so/) { -- cgit v1.2.1