aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Paillard <spaillard@debian.org>2014-08-31 11:45:36 +0200
committerSimon Paillard <spaillard@debian.org>2014-08-31 11:45:36 +0200
commitbd0646b3030088cefdcc75bf74ccb701a103ef25 (patch)
treefe2d9487c43c3c43b6c243fa607752fbd59e439e
parentcf8054ebeabe625d57f20f656d81bd7bf5ee954f (diff)
Fix typo deborts -> debports
-rwxr-xr-xbin/parse-contents6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/parse-contents b/bin/parse-contents
index d444e93..3f90d64 100755
--- a/bin/parse-contents
+++ b/bin/parse-contents
@@ -50,9 +50,9 @@ my @sections = @SECTIONS;
# Add empty section, need to search Contents directly at dist root, for debports compat
push(@sections, "");
-my %deborts_hash;
+my %debports_hash;
# copy from config.sh ${arch_debports}
-@deborts_hash{qw( alpha arm64 hppa m68k powerpcspe ppc64 sh4 sparc64 x32 )} = ();
+@debports_hash{qw( alpha arm64 hppa m68k powerpcspe ppc64 sh4 sparc64 x32 )} = ();
$DBDIR .= "/contents";
mkdirp( $DBDIR );
@@ -164,7 +164,7 @@ for my $suite (@suites) {
activate($filelist_db);
#FIXME: hardcoded archs. (debports has no contrib/non-free)
- if (not exists $deborts_hash{$arch}) {
+ if (not exists $debports_hash{$arch}) {
system("ln", "-sf", basename($filelist_db),
"$DBDIR/filelists_${suite}_all.db") == 0
or die "Oops";