projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b3e2b
)
dosym: QA warn if target is existing dir
author
Zac Medico
<zmedico@gentoo.org>
Mon, 22 Aug 2011 17:35:44 +0000
(10:35 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 22 Aug 2011 17:35:44 +0000
(10:35 -0700)
bin/ebuild-helpers/dosym
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/dosym
b/bin/ebuild-helpers/dosym
index 3bec2b8341f11f1302d03f3f002b6ba8d0424873..7dd4c6d5146cea25f02e2f2a3748577edaf3c56a 100755
(executable)
--- a/
bin/ebuild-helpers/dosym
+++ b/
bin/ebuild-helpers/dosym
@@
-9,7
+9,8
@@
if [[ $# -ne 2 ]] ; then
exit 1
fi
-if [[ ${2} == */ ]] ; then
+if [[ ${2} == */ ]] || \
+ [[ -d ${D}${2} && ! -L ${D}${2} ]] ; then
# implicit basename not allowed by PMS (bug #379899)
eqawarn "QA Notice: dosym target omits basename: '${2}'"
fi