From 8765d9be3b6b2dea3cf8f7e5686c560b6f9bb6ea Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 28 Aug 2009 08:56:55 +0000 Subject: sort options when writing to TLPDB git-svn-id: svn://tug.org/texlive/trunk@14910 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPDB.pm | 2 +- Master/tlpkg/bin/tl-update-tlpdb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Master') diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm index e2d4dbf516b..3d1e2b94bb7 100644 --- a/Master/tlpkg/TeXLive/TLPDB.pm +++ b/Master/tlpkg/TeXLive/TLPDB.pm @@ -1156,7 +1156,7 @@ sub reset_options { sub add_default_options { my $self = shift; - for my $k (keys %TeXLive::TLConfig::TLPDBOptions) { + for my $k (sort keys %TeXLive::TLConfig::TLPDBOptions) { # if the option is not set already, do set it to defaults if (! $self->option($k) ) { $self->option($k, $TeXLive::TLConfig::TLPDBOptions{$k}->[1]); diff --git a/Master/tlpkg/bin/tl-update-tlpdb b/Master/tlpkg/bin/tl-update-tlpdb index fd69fdc942e..f28505563da 100755 --- a/Master/tlpkg/bin/tl-update-tlpdb +++ b/Master/tlpkg/bin/tl-update-tlpdb @@ -204,7 +204,7 @@ sub create_tlpdb } if ($tlp->name eq "00texlive.config") { my @bar = $tlp->depends; - for my $k (keys %TeXLive::TLConfig::TLPDBConfigs) { + for my $k (sort keys %TeXLive::TLConfig::TLPDBConfigs) { push @bar, "$k/" . $TeXLive::TLConfig::TLPDBConfigs{$k}; } # add the latest revision -- cgit v1.2.3