From: Jacob Bachmeyer Date: Sun, 9 May 2021 02:07:23 +0000 (-0500) Subject: Clean up whitespace using Emacs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0774c4503afdd4db2eb76078324a1e0059d57647;p=gatekeeper.git Clean up whitespace using Emacs --- 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