From 3534aa843f22e84f5dd79a8306605d5178ec76c3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 22 Aug 2011 10:35:44 -0700 Subject: dosym: QA warn if target is existing dir --- bin/ebuild-helpers/dosym | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22