From: Stephane Glondu Date: Tue, 3 Apr 2012 06:39:49 +0000 (+0200) Subject: Fix computation of ABI with recent snapshots X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~274 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e98ceaa800d49e874f436f8b7b0b426e1111020f;p=ocaml.git Fix computation of ABI with recent snapshots Since r12298, development versions have been "$ABI_$DATE" instead of "$ABI ($DATE)". --- diff --git a/debian/rules b/debian/rules index 640a5d21..3da32e6e 100755 --- a/debian/rules +++ b/debian/rules @@ -250,7 +250,7 @@ endif --checksum $(OCAML_ABI) dh_gencontrol # Check that OCAML_ABI is correct - if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version | { read a b && echo $$a; })" ]; then \ + if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version | { read a && echo $${a%%_*}; })" ]; then \ echo "Please adjust OCAML_ABI in debian/rules"; \ exit 2; \ fi