mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I thought it might be a good idea to clean these up. Doing so, some missing or inconsistent licence headers were fixed. There is no need in shipping all these files en bloc, as their functionality won't change. Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -56,9 +56,9 @@ if ($baseurl =~ /\/\s*$/) {
|
||||
# Loop trough configured manual pages
|
||||
foreach my $page (keys %manualpages) {
|
||||
# Build absolute path and URL
|
||||
my $cgifile = "${basedir}/html/cgi-bin/${page}.cgi";
|
||||
my $cgifile = "${basedir}/html/cgi-bin/${page}.cgi";
|
||||
my $url = "${baseurl}/$manualpages{$page}";
|
||||
|
||||
|
||||
print "${page}.cgi -> '$url'\n";
|
||||
|
||||
# Check CGI file exists
|
||||
@@ -76,7 +76,7 @@ foreach my $page (keys %manualpages) {
|
||||
if($status != 200) {
|
||||
die("ERROR: Received unexpected HTTP '$status'!\n");
|
||||
}
|
||||
|
||||
|
||||
print "SUCCESS: Received HTTP '$status'.\n";
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ require "${basedir}/langs/$lang/cgi-bin/$lang.pl";
|
||||
open(FILE,">${basedir}/langs/$lang/cgi-bin/$lang.pl");
|
||||
|
||||
print FILE <<EOF;
|
||||
\%tr = (
|
||||
\%tr = (
|
||||
\%tr,
|
||||
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user