From: Mike Frysinger Date: Fri, 13 Jan 2012 19:29:06 +0000 (-0500) Subject: prepstrip: add writable workaround for everyone X-Git-Tag: v2.2.0_alpha85~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac263977391643f1c147d7e767b5b804ac095d55;p=portage.git 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 --- 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