From 0774c4503afdd4db2eb76078324a1e0059d57647 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Sat, 8 May 2021 21:07:23 -0500 Subject: [PATCH] Clean up whitespace using Emacs --- CheckVulnerabilities.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CheckVulnerabilities.pm b/CheckVulnerabilities.pm index 0784702..478df99 100644 --- a/CheckVulnerabilities.pm +++ b/CheckVulnerabilities.pm @@ -1,4 +1,3 @@ - package CheckVulnerabilities; my $NAME = 'test-vulnerabilities.pl'; @@ -52,8 +51,8 @@ sub automake_tests { my $found_makefile = 0; while (defined (my $line = )) { if ($line =~ /Makefile.in/i) { - $found_makefile = 1; - last; + $found_makefile = 1; + last; } } close(TAR); # We don't care about errors here; the pipe can cause non-zero exit codes when tar is unhappy that it's asked to stop @@ -67,10 +66,10 @@ sub automake_tests { my $found_cve_2012_3386 = 0; while (defined (my $line = )) { if ($line =~ /perm -777 -exec chmod a\+rwx|chmod 777 \$\(distdir\)/) { - $found_cve_2009_4029 = 1; + $found_cve_2009_4029 = 1; } if ($line =~ /chmod a\+w \$\(distdir\)/) { - $found_cve_2012_3386 = 1; + $found_cve_2012_3386 = 1; } } close(TAR); # We don't care about errors here; the pipe can cause non-zero exit codes when tar is unhappy that it's asked to stop -- 2.25.1