From eda1c6d14a1d2b25c2d511b0b0c9793dddb30869 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Wed, 8 Feb 2012 16:52:15 +0100 Subject: [PATCH] Fix debian/rules to cope with development variants of `ocamlc -version` --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 216a7ad8..0e282a06 100755 --- a/debian/rules +++ b/debian/rules @@ -251,7 +251,7 @@ endif --checksum $(OCAML_ABI) dh_gencontrol # Check that OCAML_ABI is correct - if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version)" ]; then \ + if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version | { read a b && echo $$a; })" ]; then \ echo "Please adjust OCAML_ABI in debian/rules"; \ exit 2; \ fi -- 2.30.2