Skip to content

Commit

Permalink
Fail if a patch is not applicable, as suggested by Jason here: MetaCo…
Browse files Browse the repository at this point in the history
…q#791 (comment)

Co-authored-by: Jason Gross <[email protected]>
  • Loading branch information
yforster and JasonGross committed Dec 15, 2022
1 parent 486d222 commit 02b17cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template-coq/update_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ then
mv -f tmp $f
done
# Fix an extraction bug: wrong type annotation on eq_equivalence
patch -N -p0 < extraction.patch
patch -N -p0 < specFloat.patch
patch -N -p0 < extraction.patch || exit $?
patch -N -p0 < specFloat.patch || exit $?
exit 0
else
echo "Extracted code is up-to-date"
Expand Down

0 comments on commit 02b17cd

Please sign in to comment.