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 2773915802F for ; Sun, 5 Mar 2023 22:43:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41769E08AD; Sun, 5 Mar 2023 22:43:19 +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 28CFEE08AD for ; Sun, 5 Mar 2023 22:43:19 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D14D23412D3 for ; Sun, 5 Mar 2023 22:43:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F236F897 for ; Sun, 5 Mar 2023 22:43:15 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1678056166.e0097a27a91fcc6e6fa09f7c7b1a6a425ab44c06.dilfridge@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto X-VCS-Directories: tools/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: e0097a27a91fcc6e6fa09f7c7b1a6a425ab44c06 X-VCS-Branch: master Date: Sun, 5 Mar 2023 22:43:15 +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: 37751aca-d9e4-476e-bc60-c3aaccf37115 X-Archives-Hash: 5ff253fe162633857f65670ce4a7a1da commit: e0097a27a91fcc6e6fa09f7c7b1a6a425ab44c06 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Mar 5 22:42:46 2023 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Mar 5 22:42:46 2023 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=e0097a27 Drop quotes around variable strings Signed-off-by: Andreas K. Hüttel gentoo.org> tools/catalyst-auto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index e84d3594..2dab0185 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -120,7 +120,8 @@ post_build() { catalyst_var() { # Extract a setting from the catalyst.conf. local var=$(grep --color=never -Po "^${1}\s*=\s*\K.*" "${CATALYST_CONFIG}" || true) - [[ -z ${var} ]] || echo "${var}" + local vas=$(echo $var|sed -e 's:^"::g' -e 's:"$::g') + [[ -z ${vas} ]] || echo "${vas}" } trigger_post_build() {