From 6cbf38f7981c5374b0f20fd8235ab82c3ab61e74 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 21 Sep 2022 08:22:38 +0200 Subject: rename function to local namespace pattern: get_gcc_version_from_config -> _get_gcc_version_from_config --- extra/linux-pae/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra/linux-pae') diff --git a/extra/linux-pae/PKGBUILD b/extra/linux-pae/PKGBUILD index 85a8962e..ac8af227 100644 --- a/extra/linux-pae/PKGBUILD +++ b/extra/linux-pae/PKGBUILD @@ -195,10 +195,10 @@ _package-headers() { esac /usr/bin/strip ${_strip} "${_binary}" done < <(find "${_builddir}/scripts" -type f -perm -u+w -print0 2>/dev/null) - depends+=(gcc-libs=$(get_gcc_version_from_config)) + depends+=(gcc-libs=$(_get_gcc_version_from_config)) } -get_gcc_version_from_config() { +_get_gcc_version_from_config() { sed ' s/^CONFIG_CC_VERSION_TEXT="gcc (GCC) \([0-9.]\+\)"$/\1/ t -- cgit v1.2.3-70-g09d2