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 AA92D138334 for ; Fri, 29 Mar 2019 04:31:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E03FE088B; Fri, 29 Mar 2019 04:31:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 642E9E088B for ; Fri, 29 Mar 2019 04:31:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 00260335CC0 for ; Fri, 29 Mar 2019 04:31:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D698B54A for ; Fri, 29 Mar 2019 04:31:10 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1553833799.81b10b5208b7bd17b66bb30cdf19804aa2212267.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: genkernel X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 81b10b5208b7bd17b66bb30cdf19804aa2212267 X-VCS-Branch: master Date: Fri, 29 Mar 2019 04:31:10 +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: af19d11e-a5a4-4144-b042-38fbc4738044 X-Archives-Hash: 0ca2254ea67958614a067e81440f894e commit: 81b10b5208b7bd17b66bb30cdf19804aa2212267 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Mar 29 04:29:59 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Mar 29 04:29:59 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=81b10b52 genkernel: Use isTrue for $BOOTRW Signed-off-by: Thomas Deutschmann gentoo.org> genkernel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genkernel b/genkernel index 0111a32..676471c 100755 --- a/genkernel +++ b/genkernel @@ -211,7 +211,7 @@ else echo else print_info 1 "mount: ${BOOTDIR} remounted read/write successfully!" - BOOTRW=1 + BOOTRW="yes" fi fi fi @@ -393,7 +393,7 @@ then unset CONFGREP fi -[ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR} +isTrue "${BOOTRW}" && mount -o remount,ro ${BOOTDIR} echo print_info 1 'Do NOT report kernel bugs as genkernel bugs unless your bug'