From: Zac Medico Date: Mon, 22 Aug 2011 17:35:44 +0000 (-0700) Subject: dosym: QA warn if target is existing dir X-Git-Tag: v2.2.0_alpha52~74 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3534aa843f22e84f5dd79a8306605d5178ec76c3;p=portage.git dosym: QA warn if target is existing dir --- diff --git a/bin/ebuild-helpers/dosym b/bin/ebuild-helpers/dosym index 3bec2b834..7dd4c6d51 100755 --- 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