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 73A15139694 for ; Sun, 21 May 2017 15:45:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F94FE0E21; Sun, 21 May 2017 15:45:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78F47E0E21 for ; Sun, 21 May 2017 15:45:01 +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 490A33416C2 for ; Sun, 21 May 2017 15:45:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2EEF7441 for ; Sun, 21 May 2017 15:44:58 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1495381490.808ab1ee48594f060a638cce673bccbcf620a9b7.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/perl/perl-5.26.9999.ebuild X-VCS-Directories: dev-lang/perl/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 808ab1ee48594f060a638cce673bccbcf620a9b7 X-VCS-Branch: master Date: Sun, 21 May 2017 15:44:58 +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: f20a293a-d67c-4dd8-9ec5-51dae37fc814 X-Archives-Hash: 548407be1be0fae28fc66f364142e11e commit: 808ab1ee48594f060a638cce673bccbcf620a9b7 Author: Kent Fredric gentoo org> AuthorDate: Sun May 21 15:44:25 2017 +0000 Commit: Kent Fredric gentoo org> CommitDate: Sun May 21 15:44:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=808ab1ee dev-lang/perl: Fix variable in arithmetic expansion on older bash Older bashes seem to think: $(( "26" % 2 )) Is $(( ""26" % 2 " )) Or something, and barfs. Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-lang/perl/perl-5.26.9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/perl/perl-5.26.9999.ebuild b/dev-lang/perl/perl-5.26.9999.ebuild index 9c159ec9432..81ecf305054 100644 --- a/dev-lang/perl/perl-5.26.9999.ebuild +++ b/dev-lang/perl/perl-5.26.9999.ebuild @@ -25,7 +25,7 @@ fi SHORT_PV="${DIST_VERSION%.*}" # Even numbered major versions are ABI intercompatible # Odd numbered major versions are not -if [[ $(( "${SHORT_PV#*.}" % 2 )) == 1 ]]; then +if [[ $(( ${SHORT_PV#*.} % 2 )) == 1 ]]; then SUBSLOT="${DIST_VERSION%-RC*}" else SUBSLOT="${DIST_VERSION%.*}"