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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3078158021 for ; Tue, 22 Nov 2022 03:49:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9EDBE08CD; Tue, 22 Nov 2022 03:49:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A908FE08BB for ; Tue, 22 Nov 2022 03:49:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B0B8340FE3 for ; Tue, 22 Nov 2022 03:49:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA369757 for ; Tue, 22 Nov 2022 03:49:35 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1669088964.46c9ad4cfca84d7020b6be9098581ce31d559b55.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/pre-kmerge.sh X-VCS-Directories: targets/support/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 46c9ad4cfca84d7020b6be9098581ce31d559b55 X-VCS-Branch: wip/mattst88 Date: Tue, 22 Nov 2022 03:49:35 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1c518bc3-fcc7-4a8a-bdc4-0d73b1a05a3a X-Archives-Hash: b776c52bf3d7beff12f486dd1fccc287 commit: 46c9ad4cfca84d7020b6be9098581ce31d559b55 Author: Sam James gentoo org> AuthorDate: Mon Nov 21 07:37:00 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Nov 22 03:49:24 2022 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=46c9ad4c targets/support/pre-kmerge.sh: fix comparison operator '<' and '>' work lexicographically in bash. Signed-off-by: Sam James gentoo.org> Signed-off-by: Matt Turner gentoo.org> targets/support/pre-kmerge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/support/pre-kmerge.sh b/targets/support/pre-kmerge.sh index 4a14fe8d..6f05082e 100755 --- a/targets/support/pre-kmerge.sh +++ b/targets/support/pre-kmerge.sh @@ -18,8 +18,8 @@ if [[ ${clst_hostarch} == hppa* ]]; then ;; esac done - [[ $num32 > 1 ]] && die "Only one 32-bit kernel can be configured" - [[ $num64 > 1 ]] && die "Only one 64-bit kernel can be configured" + [[ $num32 -gt 1 ]] && die "Only one 32-bit kernel can be configured" + [[ $num64 -gt 1 ]] && die "Only one 64-bit kernel can be configured" fi run_merge --oneshot sys-kernel/genkernel