X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=infra%2Fdgit-repos-admin-debian;h=e292bfa70e9e4c6e94c8cc1d8eb1366b84b36c04;hp=10118c6ad65ce3511978f29fd8b77b236909a23c;hb=ff53225eafcc9e53998f9f49085a366f3f98fc9c;hpb=323e5e59ee548bf44cc2cb9a584cb1c3edcabe3f diff --git a/infra/dgit-repos-admin-debian b/infra/dgit-repos-admin-debian index 10118c6a..e292bfa7 100755 --- a/infra/dgit-repos-admin-debian +++ b/infra/dgit-repos-admin-debian @@ -1,6 +1,11 @@ #!/usr/bin/perl -w # dgit repos policy admin script for Debian +use strict; + +use Debian::Dgit; +setup_sigwarn(); + our $usage = <<'END'; usage: dgit-repos-admin-debian [] operation... @@ -16,11 +21,9 @@ operations: untaint [--global|] END -use strict; use POSIX; use DBI; -use Debian::Dgit; use Debian::Dgit::Policy::Debian; sub badusage ($) { die "bad usage: $_[0]\n$usage"; } @@ -121,6 +124,8 @@ END ON taints (gitobjid, package) END # any one of of the listed deliberatelies will override its taint + # the field `deliberately' contains `--deliberately-blah-blah', + # not just `blah blah'. $poldbh->do(<