From 1d6e262677a6d48454d3ab1ac1459a8c28898003 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Thu, 12 Jun 2014 15:18:22 +0000 Subject: Fix compilation of aptitude on current Telesphoreo. git-svn-id: http://svn.telesphoreo.org/trunk@791 514c082c-b64e-11dc-b46d-3d985efe055d --- util/pkg-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/pkg-config.sh b/util/pkg-config.sh index 22d2815b3..05c31677d 100755 --- a/util/pkg-config.sh +++ b/util/pkg-config.sh @@ -51,7 +51,7 @@ for pkg in "${pkgs[@]}"; do DEP_DEST=$(PKG_DEST_ "${DEP_NAME}") find "${DEP_DEST}" -name "${pkg}.pc" -printf "${DEP_DEST}\n" - done) && args_=(--define-variable=prefix="${dest}/usr" "${args_[@]}") + done | head -n 1) && args_=(--define-variable=prefix="${dest}/usr" "${args_[@]}") fi #echo @@@ pkg-config "${args_[@]}" "${pkg}" 1>&2 -- cgit v1.2.3