diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-04-02 10:44:47 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-04-04 06:59:02 +0200 |
commit | 85c5a0b9f0c14e72440a227e447d20cb19bb96fa (patch) | |
tree | 5f51793a163fc41eb840d7413a745298af8da96e /scripts | |
parent | 6733c68e08f56ea09c8a26670640760250c5c3f8 (diff) | |
download | ptxdist-85c5a0b9f0c14e72440a227e447d20cb19bb96fa.tar.gz ptxdist-85c5a0b9f0c14e72440a227e447d20cb19bb96fa.tar.xz |
ptxd_install_shared: only look for links in the same directory
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index 73ff2c22b..983d3fde4 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -627,7 +627,7 @@ ptxd_install_shared() { ptxd_install_file "${src}" "${dst}/${filename}" "${usr}" "${grp}" "${mod}" && - find "$(dirname "${src}")" -type l | while read file; do + find "$(dirname "${src}")" -maxdepth 1 -type l | while read file; do if [ "$(basename "$(readlink -f "${file}")")" = "${filename}" ]; then local link="${dst}/$(basename "${file}")" ptxd_install_ln "${filename}" "${link}" "${usr}" "${grp}" || return |