* [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/pkg_config/
@ 2021-03-29 20:44 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2021-03-29 20:44 UTC (permalink / raw
To: gentoo-commits
commit: 01b27b4cb95b36c2501ccb2b293e47a44d6a7b46
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 09:24:10 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> 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 <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> 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 <c>mysql</c> ebuilds. Note the use of <c>${ROOT}</c>.
<codesample lang="ebuild">
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-29 20:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-29 20:44 [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/pkg_config/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox