aboutsummaryrefslogtreecommitdiffstats
path: root/strip_files
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2008-02-10 14:11:46 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2008-02-10 14:11:46 +0000
commitdbee12dd66d75660b607fe11d582bce7bcbf1965 (patch)
treec18d850a1afc3f36ef3847cc01132223c754527d /strip_files
parent2336ed0ee0e4410c7adfc10159de94dc1a29aa58 (diff)
downloadspec-helper-dbee12dd66d75660b607fe11d582bce7bcbf1965.tar
spec-helper-dbee12dd66d75660b607fe11d582bce7bcbf1965.tar.gz
spec-helper-dbee12dd66d75660b607fe11d582bce7bcbf1965.tar.bz2
spec-helper-dbee12dd66d75660b607fe11d582bce7bcbf1965.tar.xz
spec-helper-dbee12dd66d75660b607fe11d582bce7bcbf1965.zip
fix indentation
Diffstat (limited to 'strip_files')
-rwxr-xr-xstrip_files16
1 files changed, 8 insertions, 8 deletions
diff --git a/strip_files b/strip_files
index 37c525d..72e0091 100755
--- a/strip_files
+++ b/strip_files
@@ -35,20 +35,20 @@ sub testfile() {
# Does its filename look like a shared library?
if (m/\.so/) {
- # Ok, do the expensive test.
- if (expensive_test($_) =~ m/ELF.*shared/) {
- push @executables, $File::Find::name;
- return;
+ # Ok, do the expensive test.
+ if (expensive_test($_) =~ m/ELF.*shared/) {
+ push @executables, $File::Find::name;
+ return;
}
}
# Is it executable? -x isn't good enough, so we need to use stat.
my (undef, undef, $mode, undef) = stat(_);
if ($mode & 0111) {
- # Ok, expensive test.
- if (expensive_test($_) =~ m/ELF.*executable/) {
- push @executables, $File::Find::name;
- return;
+ # Ok, expensive test.
+ if (expensive_test($_) =~ m/ELF.*executable/) {
+ push @executables, $File::Find::name;
+ return;
}
}