diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-13 00:36:20 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-13 00:36:20 -0700 |
commit | f58a8ee3b984738cf9cfdcf7e0e221635f719e31 (patch) | |
tree | d422f2ecd2fee1aa2b4ee4a95ae5ffc31a5529b8 | |
parent | 58b184b441ff53c46cbb38eb695933d60c6624ad (diff) | |
download | portage-f58a8ee3b984738cf9cfdcf7e0e221635f719e31.tar.gz portage-f58a8ee3b984738cf9cfdcf7e0e221635f719e31.tar.bz2 portage-f58a8ee3b984738cf9cfdcf7e0e221635f719e31.zip |
Bug #336873 - Add a leading comma when matching --hash-style=gnu
in LDFLAGS, in order to try and filter out invalid settings.
-rwxr-xr-x | bin/misc-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 7d56be1e4..d8242b7c1 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -282,7 +282,7 @@ install_qa_check() { fi # Check for files built without respecting LDFLAGS - if [[ "${LDFLAGS}" == *--hash-style=gnu* ]] && [[ "${PN}" != *-bin ]] ; then + if [[ "${LDFLAGS}" == *,--hash-style=gnu* ]] && [[ "${PN}" != *-bin ]] ; then qa_var="QA_DT_HASH_${ARCH/-/_}" eval "[[ -n \${!qa_var} ]] && QA_DT_HASH=(\"\${${qa_var}[@]}\")" f=$(scanelf -qyRF '%k %p' -k .hash "${D}" | sed -e "s:\.hash ::") |