From ac263977391643f1c147d7e767b5b804ac095d55 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 13 Jan 2012 14:29:06 -0500 Subject: 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 --- bin/ebuild-helpers/prepstrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index 1d7b3d2fd..ee547f235 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=false - if [[ -n ${EPREFIX} && ! -w ${x} ]] ; then + if [[ ! -w ${x} ]] ; then was_not_writable=true chmod u+w "${x}" fi -- cgit v1.2.3-1-g7c22