projects
/
ocaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aa454d
)
Fix debian/rules to cope with development variants of `ocamlc -version`
author
Stephane Glondu
<steph@glondu.net>
Wed, 8 Feb 2012 15:52:15 +0000
(16:52 +0100)
committer
Stephane Glondu
<steph@glondu.net>
Fri, 10 Feb 2012 15:42:11 +0000
(16:42 +0100)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 216a7ad8ad64337fdb4d2cbeaa0eaf9123d1a1ef..0e282a06105b57e28f09b1916ede050b9f6ddf99 100755
(executable)
--- 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