summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install_pkgconfig.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-04-30 11:26:08 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-04-30 11:26:08 +0200
commit907bd31236a1b9ce11702cbd1ec792a07d74ab60 (patch)
tree1d24fdf9810c38e4c54983d65bcfcd6607d4fefd /subr/pkg_install_pkgconfig.subr
parente7f40a6a3266a5072c7a2a9a75722b7743ca3b02 (diff)
downloadmidipix_build-907bd31236a1b9ce11702cbd1ec792a07d74ab60.tar.bz2
midipix_build-907bd31236a1b9ce11702cbd1ec792a07d74ab60.tar.xz
Correctly (zero-)initialise all locals.
Diffstat (limited to 'subr/pkg_install_pkgconfig.subr')
-rw-r--r--subr/pkg_install_pkgconfig.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/pkg_install_pkgconfig.subr b/subr/pkg_install_pkgconfig.subr
index 33d22901..314e1427 100644
--- a/subr/pkg_install_pkgconfig.subr
+++ b/subr/pkg_install_pkgconfig.subr
@@ -3,7 +3,7 @@
#
pkg_install_pkgconfig() {
- local _pc_path;
+ local _pc_path="";
for _pc_path in $(find "${PKG_DESTDIR}" -name \*.pc); do
if grep -Eq '^libdir=[^$]+$' "${_pc_path}"; then
sed -i"" -e '/^libdir=[^$]\+$/s/^libdir=\(.\+\)$/libdir=${exec_prefix}\1/' \