diff options
author | Sam James <sam@gentoo.org> | 2021-03-28 04:39:37 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-20 22:46:33 +0100 |
commit | 1ade252f652cfba4068bb2275e0b24e1175ee924 (patch) | |
tree | 95e38d7b390fe963e0806ef991139aae7cd5db39 /eclass/alternatives.eclass | |
parent | user.eclass: change variable reference style for ${1} (diff) | |
download | gentoo-1ade252f652cfba4068bb2275e0b24e1175ee924.tar.gz gentoo-1ade252f652cfba4068bb2275e0b24e1175ee924.tar.bz2 gentoo-1ade252f652cfba4068bb2275e0b24e1175ee924.zip |
alternatives.eclass: document alternatives_makesym()
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/alternatives.eclass')
-rw-r--r-- | eclass/alternatives.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/alternatives.eclass b/eclass/alternatives.eclass index 86adc87b6f4c..d6bb6b19e973 100644 --- a/eclass/alternatives.eclass +++ b/eclass/alternatives.eclass @@ -63,7 +63,7 @@ _ALTERNATIVES_ECLASS=1 # @FUNCTION: alternatives_auto_makesym # @DESCRIPTION: -# automatic deduction based on a symlink and a regex mask +# Automatic deduction (Bash pathname expansion) based on a symlink and a regex mask alternatives_auto_makesym() { local SYMLINK REGEX ALT myregex SYMLINK=$1 @@ -84,6 +84,9 @@ alternatives_auto_makesym() { alternatives_makesym ${SYMLINK} ${ALT} } +# @FUNCTION: alternatives_makesym +# @DESCRIPTION: +# Creates symlink based on a symlink and regex mask literally alternatives_makesym() { local ALTERNATIVES="" local SYMLINK="" |