diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-01-02 17:37:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-01-02 17:37:27 +0000 |
commit | c895c04a11fb11698e12cea69962c87f2997d4f8 (patch) | |
tree | f799ebcd1aa00fd1915bca56b7d3f560df2ef460 | |
parent | run pyflakes on .py files if available (diff) | |
download | pax-utils-c895c04a11fb11698e12cea69962c87f2997d4f8.tar.gz pax-utils-c895c04a11fb11698e12cea69962c87f2997d4f8.tar.bz2 pax-utils-c895c04a11fb11698e12cea69962c87f2997d4f8.zip |
lddtree.sh: fix by Loïc Yhuel for LD_LIBRARY_PATH processing #449718v0.6
-rwxr-xr-x | lddtree.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ # Copyright 2007-2012 Gentoo Foundation # Copyright 2007-2012 Mike Frysinger <vapier@gentoo.org> # 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 @@ usage() { } 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 @@ find_elf() { 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 |