summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-09-11 11:29:08 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-09-11 21:29:11 -0700
commitb0fd0754f0a36dd797bbf6b3e38394cd4a529501 (patch)
treede664668aa4d64502f8376efd289867bf1e8630f
parentc3d298174da2aca91c6f9deb1501ad276d072550 (diff)
downloaddotfiles-b0fd0754f0a36dd797bbf6b3e38394cd4a529501.tar.gz
reprepro-rebuilder: move --no-run-lintian out into @args
-rwxr-xr-xbin/reprepro-rebuilder7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/reprepro-rebuilder b/bin/reprepro-rebuilder
index 50aaf38e..1b29aff0 100755
--- a/bin/reprepro-rebuilder
+++ b/bin/reprepro-rebuilder
@@ -181,14 +181,11 @@ sub build {
@arch_needed = array_minus @arch_needed, @all_needed;
my $build_debs = sub {
- my @args = ("-d", $dist);
+ my @args = ("--no-run-lintian", "-d", $dist);
shift and push @args, "-A";
for (@_) {
my $basename = basename $_;
- {
- no autodie;
- system "sbuild", "--no-run-lintian", @args, $basename
- }
+ { no autodie; system "sbuild", @args, $basename }
$? == 0
? push(@succeeded, $basename)
: push(@failed, $basename);