diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-24 17:48:10 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-24 17:48:10 +0000 |
commit | ed206265f0408b48bb0e4e4e66d2bcdec6c27401 (patch) | |
tree | 26f43db401aef82c486ab25899aa7bee0cb0e94f | |
parent | Update documentation. (diff) | |
download | python-updater-ed206265f0408b48bb0e4e4e66d2bcdec6c27401.tar.gz python-updater-ed206265f0408b48bb0e4e4e66d2bcdec6c27401.tar.bz2 python-updater-ed206265f0408b48bb0e4e4e66d2bcdec6c27401.zip |
Don't check /usr/lib(32|64)?/debug/ (bug #308579).
-rwxr-xr-x | python-updater | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python-updater b/python-updater index d4bd86b..99332f3 100755 --- a/python-updater +++ b/python-updater @@ -554,7 +554,7 @@ for content in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do fi if [[ CHECK_STATIC_LINKING -ne 0 ]]; then - binaries="$(scanelf -qs +Py_Initialize < <(grep -E "^obj" "${content}" | cut -d" " -f2) | sed "s/.* //")" + binaries="$(scanelf -qs +Py_Initialize < <(grep -E "^obj" "${content}" | cut -d" " -f2 | grep -Ev "^/usr/lib(32|64)?/debug/") | sed "s/.* //")" if [[ -n "${binaries}" ]]; then PKGS_TO_REMERGE+=" ${CATPKGVER}" eindent @@ -613,7 +613,7 @@ for content in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do fi if [[ CHECK_SHARED_LINKING -ne 0 ]]; then - binaries="$(scanelf -qF "%F %n" < <(grep -E "^obj" "${content}" | cut -d" " -f2) | grep -E "( |,)$(get_OLD_PYTHON_SHARED_LIBRARIES_REGEX)(,|$)")" + binaries="$(scanelf -qF "%F %n" < <(grep -E "^obj" "${content}" | cut -d" " -f2 | grep -Ev "^/usr/lib(32|64)?/debug/") | grep -E "( |,)$(get_OLD_PYTHON_SHARED_LIBRARIES_REGEX)(,|$)")" if [[ -n "${binaries}" ]]; then PKGS_TO_REMERGE+=" ${CATPKGVER}" eindent |