From 115fd23dcfab916e2af38fffd4402125a76da4dc Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 10 Oct 2001 01:40:21 +0000 Subject: [PATCH] The logic for changelog was more complex than necessary. --- gbootroot_pkg | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gbootroot_pkg b/gbootroot_pkg index 29b89c0..4e88aa9 100755 --- a/gbootroot_pkg +++ b/gbootroot_pkg @@ -200,15 +200,11 @@ if (!$stop) { open(CHANGELOG,">$packaging_defaults/changelog") or die "Couldn't open check: $!\n"; - for my $ct (0 .. ($#changelog - 3)) { - print CHANGELOG $changelog[$ct]; - } print CHANGELOG "$prog ($version-$revision) $dist; urgency=$urgency\n\n"; print CHANGELOG "$save_doc\n"; print CHANGELOG " -- $name <$email> " . `822-date`; - for my $ct (($#changelog - 3) .. $#changelog) { - print CHANGELOG $changelog[$ct]; - } + print CHANGELOG "\n"; + print CHANGELOG @changelog; close(CHANGELOG); print "\n";