aboutsummaryrefslogtreecommitdiffstats
path: root/strip_and_check_elf_files
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2008-05-14 08:54:21 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2008-05-14 08:54:21 +0000
commitddc48153a58b1f8f852ba6610802effc7d94c6c5 (patch)
tree472bc1a54dc7457f2454687af9ac5c13f93a762d /strip_and_check_elf_files
parent35c4bf2790c20a91ce9a5d58c90bb356196311a9 (diff)
downloadspec-helper-ddc48153a58b1f8f852ba6610802effc7d94c6c5.tar
spec-helper-ddc48153a58b1f8f852ba6610802effc7d94c6c5.tar.gz
spec-helper-ddc48153a58b1f8f852ba6610802effc7d94c6c5.tar.bz2
spec-helper-ddc48153a58b1f8f852ba6610802effc7d94c6c5.tar.xz
spec-helper-ddc48153a58b1f8f852ba6610802effc7d94c6c5.zip
return of the explicit symlink test during file recursion, as previous commit make them accepted
Diffstat (limited to 'strip_and_check_elf_files')
-rwxr-xr-xstrip_and_check_elf_files2
1 files changed, 2 insertions, 0 deletions
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/) {