chiark / gitweb /
debian/update-build-deps: Handle build-dependencies too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Feb 2024 01:01:58 +0000 (01:01 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Feb 2024 01:05:55 +0000 (01:05 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/update-build-deps

index 5c77861f83599aa6883a6ceceecfbf3a028db24a..14f31ed7d1d5bb0f21b627785d60629c8f4ccca1 100755 (executable)
@@ -40,7 +40,7 @@ while (<I>) {
        my $toml = do { local $/ = undef; <C> // die "$file $!"; };
        C->error and die "$file $!";
        $toml = from_toml($toml) || die "$file ?";
-       foreach my $kw (qw(dependencies)) {
+       foreach my $kw (qw(dependencies build-dependencies)) {
          foreach my $p (keys %{ $toml->{$kw} }) {
            my $info = $toml->{$kw}{$p};
            if (!ref $info) {