Skip to content
Permalink
Browse files

scripts/scandeps.pl: avoid duplicate build depends

  • Loading branch information
jef-n committed Oct 17, 2016
1 parent 25d0351 commit 522013b80ee9234888bdbedfb28c1992b4b73006
Showing with 3 additions and 1 deletion.
  1. +3 −1 scripts/scandeps.pl
@@ -64,11 +64,13 @@
system("git checkout debian/control" )==0 or die "git checkout failed: $!";

my @deps;
my %deps;
foreach my $p (split /,/, $deps) {
$p =~ s/^\s+//;
$p =~ s/\s+.*$//;
next if $p =~ /^(debhelper|subversion|python-central)$/;
push @deps, $p;
push @deps, $p if not exists $deps{$p};
$deps{$p} = 1;
}

my $dep="";

0 comments on commit 522013b

Please sign in to comment.
You can’t perform that action at this time.