From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 49C4D1389F5 for ; Fri, 31 Oct 2014 00:52:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8280E0853; Fri, 31 Oct 2014 00:52:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F0E7E0853 for ; Fri, 31 Oct 2014 00:52:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4BA103404DF for ; Fri, 31 Oct 2014 00:52:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC88A91A3 for ; Fri, 31 Oct 2014 00:52:25 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1414716714.4642d41545192b4ac7c6034663c09e75fa78561c.vapier@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: wrappers/ X-VCS-Repository: proj/crossdev X-VCS-Files: wrappers/cross-pkg-config X-VCS-Directories: wrappers/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 4642d41545192b4ac7c6034663c09e75fa78561c X-VCS-Branch: master Date: Fri, 31 Oct 2014 00:52:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: de383fd8-f1cd-4f66-adcf-b59c491eddb0 X-Archives-Hash: ba7de598c524ef05e0514b827a75c612 commit: 4642d41545192b4ac7c6034663c09e75fa78561c Author: Mike Frysinger gentoo org> AuthorDate: Fri Oct 31 00:51:54 2014 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Oct 31 00:51:54 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/crossdev.git;a=commit;h=4642d415 cross-pkg-config: avoid bashism URL: https://bugs.gentoo.org/525068 Signed-off-by: Mike Frysinger gentoo.org> --- wrappers/cross-pkg-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/cross-pkg-config b/wrappers/cross-pkg-config index 000d6ad..6b68fa7 100755 --- a/wrappers/cross-pkg-config +++ b/wrappers/cross-pkg-config @@ -82,7 +82,7 @@ unset PKG_CONFIG_ALLOW_SYSTEM_LIBS # : ${ABI:=${DEFAULT_ABI:-default}} var="LIBDIR_${ABI}" -libdir=${!var} +eval libdir=\${${var}} if [ -z "${libdir}" ] ; then # Fall back to probing the compiler. libdir=$(realpath "$(${CC:-${CHOST}-gcc} ${CFLAGS} ${LDFLAGS} -print-file-name=pkgconfig)/..")