diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-01-22 19:41:21 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-01-22 19:41:21 +0000 |
commit | 2e30e7e56899774f7d5a3a936c43d2e1e24520dd (patch) | |
tree | 6dea35e120353a041e091deeb9d89a0ec44b84ce /eclass | |
parent | Ruby does not support tcl/tk 8.6 so adjust tk dependency accordingly. "Fixes"... (diff) | |
download | historical-2e30e7e56899774f7d5a3a936c43d2e1e24520dd.tar.gz historical-2e30e7e56899774f7d5a3a936c43d2e1e24520dd.tar.bz2 historical-2e30e7e56899774f7d5a3a936c43d2e1e24520dd.zip |
supress the pkg-config command output
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/bash-completion-r1.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass index db24b9890f85..b9a8a0c01b89 100644 --- a/eclass/bash-completion-r1.eclass +++ b/eclass/bash-completion-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.11 2014/01/22 19:29:05 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.12 2014/01/22 19:41:21 ssuominen Exp $ # @ECLASS: bash-completion-r1.eclass # @MAINTAINER: @@ -40,7 +40,7 @@ esac _bash-completion-r1_get_bashdir() { debug-print-function ${FUNCNAME} "${@}" - if $(tc-getPKG_CONFIG) --exists bash-completion; then + if $(tc-getPKG_CONFIG) --exists bash-completion &>/dev/null; then local path="$($(tc-getPKG_CONFIG) --variable=$1 bash-completion)" # we need to return unprefixed, so strip from what pkg-config returns # to us, bug #477692 |