From fea6c2f1c1adc4caf68af64ad50f9c4682a98614 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Fri, 19 Jun 2020 10:16:18 +0100 Subject: [PATCH] firefox/explode-stylus: Suppress a final blank line in output sections. Organization: Straylight/Edgeware From: Mark Wooding --- firefox/explode-stylus | 1 + 1 file changed, 1 insertion(+) diff --git a/firefox/explode-stylus b/firefox/explode-stylus index 6195a3a..1b20b83 100755 --- a/firefox/explode-stylus +++ b/firefox/explode-stylus @@ -18,6 +18,7 @@ for my $e (@$js) { next KEY if $k eq "code"; print $fh "/*@ $k: ", join(", ", $s->{$k}->@*), " */\n"; } + $s->{code} =~ s/\n$//; print $fh $s->{code}, "\n"; print $fh "/*\@END*/\n"; } -- [mdw]