aboutsummaryrefslogtreecommitdiff
path: root/sbofind
diff options
context:
space:
mode:
Diffstat (limited to 'sbofind')
-rwxr-xr-xsbofind6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbofind b/sbofind
index d2c6201..61fbd48 100755
--- a/sbofind
+++ b/sbofind
@@ -8,7 +8,7 @@
# author: Jacob Pipkin <j@dawnrazor.net>
# license: WTFPL <http://sam.zoy.org/wtfpl/COPYING>
-use 5.12.3;
+use 5.16.0;
use strict;
use warnings FATAL => 'all';
use SBO::Lib;
@@ -99,8 +99,8 @@ if (exists $$findings[0]) {
while (my ($key, $val) = each %$hash) {
say "SBo: $key";
say "Path: $val";
- say "info: ". get_file_contents "$val/$key.info";
- say "README: ". get_file_contents "$val/README";
+ say "info: ". get_file_contents "$val/$key.info" if $show_info;
+ say "README: ". get_file_contents "$val/README" if $show_readme;
say '';
}
}