Skip to content

Commit

Permalink
[repro] Ensure we pass status codes once finished
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Linderud <[email protected]>
  • Loading branch information
Foxboron committed Nov 16, 2019
1 parent 674e74a commit 4452fbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repro.in
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,13 @@ __END__
msg "Comparing hashes..."
if diff -q -- "$pkg" ./build/"$(basename "$pkg")" > /dev/null ; then
msg "Package is reproducible!"
exit 0
else
error "Package is not reproducible"
if ((run_diffoscope)); then
PYTHONIOENCODING=utf-8 $DIFFOSCOPE "$pkg" ./build/"$(basename "$pkg")" || true
fi
exit 1
fi
}

Expand Down

0 comments on commit 4452fbe

Please sign in to comment.