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 88362138257 for ; Wed, 2 Jan 2013 17:37:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F18721C004; Wed, 2 Jan 2013 17:37:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1E4921C004 for ; Wed, 2 Jan 2013 17:37:29 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E746833DBF6 for ; Wed, 2 Jan 2013 17:37:28 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id AB4B22171D; Wed, 2 Jan 2013 17:37:27 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-projects commit in pax-utils: lddtree.sh X-VCS-Repository: gentoo-projects X-VCS-Files: lddtree.sh X-VCS-Directories: pax-utils X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130102173727.AB4B22171D@flycatcher.gentoo.org> Date: Wed, 2 Jan 2013 17:37:27 +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: a204c532-d674-4fef-84dc-9b30b6b57f50 X-Archives-Hash: e8c44f8af9db554ef1361f7c1228f73b vapier 13/01/02 17:37:27 Modified: lddtree.sh Log: lddtree.sh: fix by Loïc Yhuel for LD_LIBRARY_PATH processing #449718 Revision Changes Path 1.18 pax-utils/lddtree.sh file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/lddtree.sh?rev=1.18&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/lddtree.sh?rev=1.18&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/lddtree.sh?r1=1.17&r2=1.18 Index: lddtree.sh =================================================================== RCS file: /var/cvsroot/gentoo-projects/pax-utils/lddtree.sh,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- lddtree.sh 15 Nov 2012 20:35:04 -0000 1.17 +++ lddtree.sh 2 Jan 2013 17:37:27 -0000 1.18 @@ -2,7 +2,7 @@ # Copyright 2007-2012 Gentoo Foundation # Copyright 2007-2012 Mike Frysinger # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-projects/pax-utils/lddtree.sh,v 1.17 2012/11/15 20:35:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-projects/pax-utils/lddtree.sh,v 1.18 2013/01/02 17:37:27 vapier Exp $ argv0=${0##*/} @@ -28,7 +28,7 @@ } version() { - local id='$Id: lddtree.sh,v 1.17 2012/11/15 20:35:04 vapier Exp $' + local id='$Id: lddtree.sh,v 1.18 2013/01/02 17:37:27 vapier Exp $' id=${id##*,v } exec echo "lddtree-${id% * Exp*}" } @@ -84,7 +84,7 @@ local p path=${LD_LIBRARY_PATH} while : ; do p=${path%%:*} - check_paths "${elf}" "${path:-${PWD}}" && return 0 + check_paths "${elf}" "${p:-${PWD}}" && return 0 [[ ${path} == *:* ]] || break path=${path#*:} done