From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42208139694 for ; Thu, 20 Apr 2017 17:21:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89B12E0D1A; Thu, 20 Apr 2017 17:21:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67F30E0D1A for ; Thu, 20 Apr 2017 17:21:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 826CB335DEF for ; Thu, 20 Apr 2017 17:21:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5E977427 for ; Thu, 20 Apr 2017 17:21:49 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1492708804.c40c39537d584f57e449d3525e92fafbe85517fd.ulm@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: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: c40c39537d584f57e449d3525e92fafbe85517fd X-VCS-Branch: master Date: Thu, 20 Apr 2017 17:21:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1a4765fa-89b2-432c-8ebb-1e47d936765c X-Archives-Hash: 526e7c4bafe1658b6266774eb83d8e62 commit: c40c39537d584f57e449d3525e92fafbe85517fd Author: Ulrich Müller gentoo org> AuthorDate: Sat Apr 15 09:11:18 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Apr 20 17:20:04 2017 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=c40c3953 dosym: Make implicit basename a fatal error. The respective QA warning in the dosym helper is in place since 2011. All known violations in the gentoo repository have been fixed. Gentoo-Bug: 379899 Acked-by: Brian Dolbec gentoo.org> bin/ebuild-helpers/dosym | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/ebuild-helpers/dosym b/bin/ebuild-helpers/dosym index 0bc8cc7be..b9c70ce9c 100755 --- a/bin/ebuild-helpers/dosym +++ b/bin/ebuild-helpers/dosym @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 @@ -13,10 +13,9 @@ if ! ___eapi_has_prefix_variables; then ED=${D} fi -if [[ ${2} == */ ]] || \ - [[ -d ${ED}${2} && ! -L ${ED}${2} ]] ; then +if [[ ${2} == */ ]] || [[ -d ${ED}${2} && ! -L ${ED}${2} ]] ; then # implicit basename not allowed by PMS (bug #379899) - eqawarn "QA Notice: dosym target omits basename: '${2}'" + __helpers_die "${0##*/}: dosym target omits basename: '${2}'" fi destdir=${2%/*}