summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/reprepro-rebuilder8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/reprepro-rebuilder b/bin/reprepro-rebuilder
index 6376677b..d2fe6255 100755
--- a/bin/reprepro-rebuilder
+++ b/bin/reprepro-rebuilder
@@ -215,12 +215,8 @@ sub build {
$build_debs->({ desc => $_, cross => $_ }, $cross_needed{$_}->@*)
for keys %cross_needed;
- {
- no autodie;
- local $CWD = $repo;
- # May fail if the .deb is already present from another build.
- system "reprepro", "includedeb", $dist, $_ for <$temp/*.deb>;
- }
+ # Command may fail if the .deb is already present from another build.
+ eval { reprepro("includedeb", $dist, $_) } for <$temp/*.deb>;
}
say "successful builds: @succeeded" if @succeeded;