summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flo@geekplace.eu>2021-04-10 16:23:43 +0200
committerSam James <sam@gentoo.org>2021-06-01 09:35:18 +0000
commit300b9f7fe0362ac7090c91d7e0a7bcb35616805b (patch)
treefa3a79e6b9eb812952b5cdb439cab7b69a112a1e /eclass/rebar.eclass
parentapp-backup/borgbackup: add Python 3.9 (diff)
downloadgentoo-300b9f7fe0362ac7090c91d7e0a7bcb35616805b.tar.gz
gentoo-300b9f7fe0362ac7090c91d7e0a7bcb35616805b.tar.bz2
gentoo-300b9f7fe0362ac7090c91d7e0a7bcb35616805b.zip
rebar.eclass: fix @RETURN argument
Previously "pkgcheck scan rebar.class" would complain about EclassDocError: rebar: failed parsing eclass docs: '@RETURN:', line 61: non-inline arg Thanks to Ulrich Müller for providing feedback. Signed-off-by: Florian Schmaus <flo@geekplace.eu> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/rebar.eclass')
-rw-r--r--eclass/rebar.eclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
index 7f712905c407..f43c036b22ea 100644
--- a/eclass/rebar.eclass
+++ b/eclass/rebar.eclass
@@ -53,9 +53,7 @@ get_erl_libs() {
# @FUNCTION: _rebar_find_dep
# @INTERNAL
# @USAGE: <project_name>
-# @RETURN: full path with EPREFIX to a Erlang package/project on success,
-# code 1 when dependency is not found and code 2 if multiple versions of
-# dependency are found.
+# @RETURN: 0 success, 1 dependency not found, 2 multiple versions found
# @DESCRIPTION:
# Find a Erlang package/project by name in Erlang lib directory. Project
# directory is usually suffixed with version. It is matched to '<project_name>'