From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QvYPt-0004l5-5Z for garchives@archives.gentoo.org; Mon, 22 Aug 2011 17:36:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF97021C23D; Mon, 22 Aug 2011 17:35:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 79CD821C23D for ; Mon, 22 Aug 2011 17:35:57 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB5A31B401B for ; Mon, 22 Aug 2011 17:35:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0F66580040 for ; Mon, 22 Aug 2011 17:35:56 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <3534aa843f22e84f5dd79a8306605d5178ec76c3.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/dosym X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 3534aa843f22e84f5dd79a8306605d5178ec76c3 Date: Mon, 22 Aug 2011 17:35:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 49d7a8c25bbd8c94eb2c4986bba11dcb commit: 3534aa843f22e84f5dd79a8306605d5178ec76c3 Author: Zac Medico gentoo org> AuthorDate: Mon Aug 22 17:35:44 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Aug 22 17:35:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D3534aa84 dosym: QA warn if target is existing dir --- bin/ebuild-helpers/dosym | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/bin/ebuild-helpers/dosym b/bin/ebuild-helpers/dosym index 3bec2b8..7dd4c6d 100755 --- a/bin/ebuild-helpers/dosym +++ b/bin/ebuild-helpers/dosym @@ -9,7 +9,8 @@ if [[ $# -ne 2 ]] ; then exit 1 fi =20 -if [[ ${2} =3D=3D */ ]] ; then +if [[ ${2} =3D=3D */ ]] || \ + [[ -d ${D}${2} && ! -L ${D}${2} ]] ; then # implicit basename not allowed by PMS (bug #379899) eqawarn "QA Notice: dosym target omits basename: '${2}'" fi