From 05b3e2b245630505fa5f581fbdf0531d00cb0b93 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 22 Aug 2011 09:06:13 -0700 Subject: dosym: QA warn if basename omitted (bug #379899) --- bin/ebuild-helpers/dosym | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/ebuild-helpers/dosym b/bin/ebuild-helpers/dosym index 500dad094..3bec2b834 100755 --- 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}" -- cgit v1.2.3-18-g5258