mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
eclass/bash-completion-r1: Sync with Gentoo
It's from Gentoo commit ff113c24e6def397ddf4f864e038480b94be33b8.
This commit is contained in:
parent
1463ab65c7
commit
6c4f097f61
@ -43,11 +43,6 @@ esac
|
|||||||
_bash-completion-r1_get_bashdir() {
|
_bash-completion-r1_get_bashdir() {
|
||||||
debug-print-function ${FUNCNAME} "${@}"
|
debug-print-function ${FUNCNAME} "${@}"
|
||||||
|
|
||||||
# Flatcar: Take a fix for pkg-config paths from systemd.eclass.
|
|
||||||
#
|
|
||||||
# https://github.com/pkgconf/pkgconf/issues/205
|
|
||||||
local -x PKG_CONFIG_FDO_SYSROOT_RULES=1
|
|
||||||
|
|
||||||
if $(tc-getPKG_CONFIG) --exists bash-completion &>/dev/null; then
|
if $(tc-getPKG_CONFIG) --exists bash-completion &>/dev/null; then
|
||||||
local path
|
local path
|
||||||
path=$($(tc-getPKG_CONFIG) --variable="${1}" bash-completion) || die
|
path=$($(tc-getPKG_CONFIG) --variable="${1}" bash-completion) || die
|
||||||
|
Loading…
x
Reference in New Issue
Block a user