commit:     bfcf85946d2ad8f28ced9bf13ee12a4031c6ac4f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 13:26:16 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 13:26:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfcf8594

eapi7-ver.eclass: Fix typo.

 eclass/eapi7-ver.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/eapi7-ver.eclass b/eclass/eapi7-ver.eclass
index c64870cc1fe..53302631405 100644
--- a/eclass/eapi7-ver.eclass
+++ b/eclass/eapi7-ver.eclass
@@ -234,8 +234,8 @@ _ver_compare() {
        [[ ${al} < ${bl} ]] && return 1
 
        # Compare suffixes (PMS algorithm 3.5)
-       as=${as#_}${as+_}
-       bs=${bs#_}${bs+_}
+       as=${as#_}${as:+_}
+       bs=${bs#_}${bs:+_}
        while [[ -n ${as} && -n ${bs} ]]; do
                # Compare each suffix (PMS algorithm 3.6)
                a=${as%%_*}

Reply via email to