summaryrefslogtreecommitdiffstats
path: root/libtommath/gen.pl
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/gen.pl')
-rw-r--r--libtommath/gen.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtommath/gen.pl b/libtommath/gen.pl
index 7236591..57f65ac 100644
--- a/libtommath/gen.pl
+++ b/libtommath/gen.pl
@@ -14,4 +14,6 @@ foreach my $filename (glob "bn*.c") {
close SRC or die "Error closing $filename after reading: $!";
}
print OUT "\n/* EOF */\n";
-close OUT or die "Error closing mpi.c after writing: $!"; \ No newline at end of file
+close OUT or die "Error closing mpi.c after writing: $!";
+
+system('perl -pli -e "s/\s*$//" mpi.c');