projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b184b
)
Bug #336873 - Add a leading comma when matching --hash-style=gnu
author
Zac Medico
<zmedico@gentoo.org>
Mon, 13 Sep 2010 07:36:20 +0000
(
00:36
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 13 Sep 2010 07:36:20 +0000
(
00:36
-0700)
in LDFLAGS, in order to try and filter out invalid settings.
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index 7d56be1e4710311ee464e0e5141b19519f2d566f..d8242b7c18ba26a88576e1a5ae081d6c0319edee 100755
(executable)
--- 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 ::")