From 6d3b46ea4ad9b0a0ed4e9307f88ae3f5a1131894 Mon Sep 17 00:00:00 2001 From: Jacob Pipkin Date: Thu, 30 Aug 2012 10:42:23 -0500 Subject: bugfix --- sbofind | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbofind b/sbofind index 316eb80..055ce9b 100755 --- a/sbofind +++ b/sbofind @@ -85,10 +85,10 @@ if (exists $$findings[0]) { while (my ($key, $value) = each %$hash) { push @listing, "SBo: $key\n"; push @listing, "Path: $value\n"; - push @listing, "info: ". get_file_contents ("$value/$key.info") - if $show_info eq 'TRUE'; - push @listing, "README: ". get_file_contents ("$value/README") - if $show_readme eq 'TRUE'; + push @listing, "info: ". get_file_contents "$value/$key.info" + if $show_info; + push @listing, "README: ". get_file_contents "$value/README" + if $show_readme; push @listing, "\n"; } } -- cgit v1.2.3