From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9ED6A1396D0 for ; Thu, 21 Sep 2017 13:26:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 999F81FC093; Thu, 21 Sep 2017 13:26:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 749E21FC093 for ; Thu, 21 Sep 2017 13:26:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 22C5C341702 for ; Thu, 21 Sep 2017 13:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9187872A8 for ; Thu, 21 Sep 2017 13:26:40 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1506000376.bfcf85946d2ad8f28ced9bf13ee12a4031c6ac4f.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:eapi7-ver commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/eapi7-ver.eclass X-VCS-Directories: eclass/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: bfcf85946d2ad8f28ced9bf13ee12a4031c6ac4f X-VCS-Branch: eapi7-ver Date: Thu, 21 Sep 2017 13:26:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d498d040-3681-4bc1-9e9e-30880cc5c0bc X-Archives-Hash: 10b6a45134c2d6b337b9d9c9ea022ed5 commit: bfcf85946d2ad8f28ced9bf13ee12a4031c6ac4f Author: Ulrich Müller gentoo org> AuthorDate: Thu Sep 21 13:26:16 2017 +0000 Commit: Ulrich Müller gentoo 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%%_*}