The following commit has been merged in the master branch:
commit eda1c6d14a1d2b25c2d511b0b0c9793dddb30869
Author: Stephane Glondu <st...@glondu.net>
Date:   Wed Feb 8 16:52:15 2012 +0100

    Fix debian/rules to cope with development variants of `ocamlc -version`

diff --git a/debian/rules b/debian/rules
index 216a7ad..0e282a0 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

-- 
OCaml packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to