projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305acb6
)
dosym: QA warn if basename omitted (bug #379899)
author
Zac Medico
<zmedico@gentoo.org>
Mon, 22 Aug 2011 16:06:13 +0000
(09:06 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 22 Aug 2011 16:06:13 +0000
(09:06 -0700)
bin/ebuild-helpers/dosym
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/dosym
b/bin/ebuild-helpers/dosym
index 500dad0944ef20113c2fa93afa4f2498f57baf78..3bec2b8341f11f1302d03f3f002b6ba8d0424873 100755
(executable)
--- a/
bin/ebuild-helpers/dosym
+++ b/
bin/ebuild-helpers/dosym
@@
-9,6
+9,11
@@
if [[ $# -ne 2 ]] ; then
exit 1
fi
+if [[ ${2} == */ ]] ; then
+ # implicit basename not allowed by PMS (bug #379899)
+ eqawarn "QA Notice: dosym target omits basename: '${2}'"
+fi
+
destdir=${2%/*}
[[ ! -d ${D}${destdir} ]] && dodir "${destdir}"