commit:     d5df4830d032e4f48d5b64fdd632a030a72ca1c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 02:42:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 06:09:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5df4830

findlib.eclass: minor style changes

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/findlib.eclass | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass
index 0e37e2ecfa0..8eaaccd0ec9 100644
--- a/eclass/findlib.eclass
+++ b/eclass/findlib.eclass
@@ -10,19 +10,18 @@
 # @DESCRIPTION:
 # ocamlfind (a.k.a. findlib) eclass
 
-# Do not complain about CFLAGS etc since ml projects do not use them.
+# Do not complain about CFLAGS etc since ML projects do not use them.
 QA_FLAGS_IGNORED='.*'
 
-# From this findlib version there is proper stublibs support.
+# From this findlib version, there is proper stublibs support.
 DEPEND=">=dev-ml/findlib-1.0.4-r1"
 [[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )"
 
 check_ocamlfind() {
-       if [ ! -x "${EPREFIX}"/usr/bin/ocamlfind ]
-       then
-               eerror "In findlib.eclass: could not find the ocamlfind 
executable"
-               eerror "Please report this bug on gentoo's bugzilla, assigning 
to [email protected]"
-               die "ocamlfind executabled not found"
+       if [ ! -x "${EPREFIX}"/usr/bin/ocamlfind ] ; then
+               eerror "In ${ECLASS}: could not find the ocamlfind executable"
+               eerror "Please report this bug on Gentoo's Bugzilla, assigning 
to [email protected]"
+               die "ocamlfind executable not found"
        fi
 }
 

Reply via email to