Skip to content

Commit 02b17cd

Browse files
yforsterJasonGross
andcommitted
Fail if a patch is not applicable, as suggested by Jason here: MetaRocq#791 (comment)
Co-authored-by: Jason Gross <jgross@mit.edu>
1 parent 486d222 commit 02b17cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template-coq/update_plugin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ then
1919
mv -f tmp $f
2020
done
2121
# Fix an extraction bug: wrong type annotation on eq_equivalence
22-
patch -N -p0 < extraction.patch
23-
patch -N -p0 < specFloat.patch
22+
patch -N -p0 < extraction.patch || exit $?
23+
patch -N -p0 < specFloat.patch || exit $?
2424
exit 0
2525
else
2626
echo "Extracted code is up-to-date"

0 commit comments

Comments
 (0)