aboutsummaryrefslogtreecommitdiffstats
path: root/strip_and_check_elf_files
diff options
context:
space:
mode:
Diffstat (limited to 'strip_and_check_elf_files')
-rwxr-xr-xstrip_and_check_elf_files7
1 files changed, 1 insertions, 6 deletions
diff --git a/strip_and_check_elf_files b/strip_and_check_elf_files
index 4cebbe9..88d25b6 100755
--- a/strip_and_check_elf_files
+++ b/strip_and_check_elf_files
@@ -5,6 +5,7 @@
use strict;
use warnings;
use File::Find;
+use File::Basename;
my $buildroot = $ENV{RPM_BUILD_ROOT};
die "No build root defined" unless $buildroot;
@@ -98,9 +99,3 @@ sub keep_wanted() {
return;
}
}
-
-sub basename {
- local $_ = shift;
- s|/*\s*$||; s|.*/||;
- $_
-}