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 1RDS5h-0000p2-Ol for garchives@archives.gentoo.org; Tue, 11 Oct 2011 02:29:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16B2D21C236; Tue, 11 Oct 2011 02:29:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DBE9D21C227 for ; Tue, 11 Oct 2011 02:28:59 +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 372BB1B4025 for ; Tue, 11 Oct 2011 02:28:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 4210180042 for ; Tue, 11 Oct 2011 02:28:58 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <12dc5c56c821336f02338e3374b97e55273aee3c.vapier@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ebuild-helpers/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild-helpers/prepstrip X-VCS-Directories: bin/ebuild-helpers/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 12dc5c56c821336f02338e3374b97e55273aee3c Date: Tue, 11 Oct 2011 02:28:58 +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: 04aa32fce5858ef07a737b5aebbe8ab9 commit: 12dc5c56c821336f02338e3374b97e55273aee3c Author: Mike Frysinger gentoo org> AuthorDate: Tue Oct 11 02:28:55 2011 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Oct 11 02:28:55 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D12dc5c56 prepstrip: avoid a `dirname` with a simple ${var%/*} Signed-off-by: Mike Frysinger gentoo.org> --- bin/ebuild-helpers/prepstrip | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index 68b2133..67ceead 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -81,7 +81,7 @@ save_elf_debug() { # this will recompute the build-id, but for now that's ok local buildid=3D"$( ${debugedit_found} && debugedit -i "${x}" )" =20 - mkdir -p $(dirname "${y}") + mkdir -p "${y%/*}" =20 local inode=3D$(inode_var_name "$x") if [[ -n ${!inode} ]] ; then