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 1RmBIE-0002fx-Le for garchives@archives.gentoo.org; Sat, 14 Jan 2012 21:37:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4B83E062B; Sat, 14 Jan 2012 21:37:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 97DEDE062B for ; Sat, 14 Jan 2012 21:37:34 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BA431B403D for ; Sat, 14 Jan 2012 21:37:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A152680044 for ; Sat, 14 Jan 2012 21:37:32 +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: 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: ac263977391643f1c147d7e767b5b804ac095d55 Date: Sat, 14 Jan 2012 21:37:32 +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: f641ada5-daf2-4b7d-94a5-27c212e4587c X-Archives-Hash: 2fe9d8885e6cc3328d62a67a590a0054 commit: ac263977391643f1c147d7e767b5b804ac095d55 Author: Mike Frysinger gentoo org> AuthorDate: Fri Jan 13 19:29:06 2012 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat Jan 14 21:37:24 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dac263977 prepstrip: add writable workaround for everyone The writable issue shows up when using `ebuild` as non-root users in non-prefix setups. So always do it. 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 1d7b3d2..ee547f2 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -224,7 +224,7 @@ do # unwritable objects. Make them temporarily writable for the # stripping. was_not_writable=3Dfalse - if [[ -n ${EPREFIX} && ! -w ${x} ]] ; then + if [[ ! -w ${x} ]] ; then was_not_writable=3Dtrue chmod u+w "${x}" fi