summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-08-22 09:06:13 -0700
committerZac Medico <zmedico@gentoo.org>2011-08-22 09:06:13 -0700
commit05b3e2b245630505fa5f581fbdf0531d00cb0b93 (patch)
tree2790f43b62464174503cbb0f1531a5eae9817594 /bin
parent305acb6d016f36312344cc44a640fdbde8f4cd33 (diff)
downloadportage-05b3e2b245630505fa5f581fbdf0531d00cb0b93.tar.gz
portage-05b3e2b245630505fa5f581fbdf0531d00cb0b93.tar.bz2
portage-05b3e2b245630505fa5f581fbdf0531d00cb0b93.zip
dosym: QA warn if basename omitted (bug #379899)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild-helpers/dosym5
1 files changed, 5 insertions, 0 deletions
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}"