commit:     0d4831f9da9cb30979407e9144c042d181ce9ef8
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 12:52:02 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 12:52:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d4831f9

eapi7-ver.eclass: Fix some ugliness.

 eclass/eapi7-ver.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/eapi7-ver.eclass b/eclass/eapi7-ver.eclass
index 7cfbf7e88d2..3ddd8954556 100644
--- a/eclass/eapi7-ver.eclass
+++ b/eclass/eapi7-ver.eclass
@@ -188,7 +188,7 @@ ver_test() {
        local LC_ALL=C
        local va op vb
 
-       if [[ ${#} -eq 3 ]]; then
+       if [[ $# -eq 3 ]]; then
                va=${1}
                shift
        else

Reply via email to