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 1E13E13835A for ; Mon, 29 Mar 2021 20:44:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 286DDE0843; Mon, 29 Mar 2021 20:44:08 +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 1051EE0843 for ; Mon, 29 Mar 2021 20:44:08 +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 56333340C33 for ; Mon, 29 Mar 2021 20:44:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFC76634 for ; Mon, 29 Mar 2021 20:44:04 +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: <1617050495.01b27b4cb95b36c2501ccb2b293e47a44d6a7b46.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/pkg_config/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/functions/pkg_config/text.xml X-VCS-Directories: ebuild-writing/functions/pkg_config/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 01b27b4cb95b36c2501ccb2b293e47a44d6a7b46 X-VCS-Branch: master Date: Mon, 29 Mar 2021 20:44:04 +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: 88540c8b-a924-4e60-a772-181d8161138a X-Archives-Hash: 4d31cf94442669d7bf1a63095178e7ff commit: 01b27b4cb95b36c2501ccb2b293e47a44d6a7b46 Author: Sam James gentoo org> AuthorDate: Sat Mar 20 09:24:10 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Mar 29 20:41:35 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=01b27b4c ebuild-writing/functions/pkg_config: use Bash tests Signed-off-by: Sam James gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/functions/pkg_config/text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebuild-writing/functions/pkg_config/text.xml b/ebuild-writing/functions/pkg_config/text.xml index ac1c996..bf03b87 100644 --- a/ebuild-writing/functions/pkg_config/text.xml +++ b/ebuild-writing/functions/pkg_config/text.xml @@ -48,7 +48,7 @@ Taken from the mysql ebuilds. Note the use of ${ROOT}. pkg_config() { - if [ ! -d "${ROOT}"/var/lib/mysql/mysql ] ; then + if [[ ! -d ${ROOT}/var/lib/mysql/mysql ]] ; then einfo "Press ENTER to create the mysql database and set proper" einfo "permissions on it, or Control-C to abort now..." read