diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-13 14:29:06 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-14 16:37:24 -0500 |
commit | ac263977391643f1c147d7e767b5b804ac095d55 (patch) | |
tree | e7ce7249401a42a1d278ab3952e73c1ad1e741be | |
parent | 5690ca2b8114ae352c97aefeb2a7b240204e078f (diff) | |
download | portage-ac263977391643f1c147d7e767b5b804ac095d55.tar.gz portage-ac263977391643f1c147d7e767b5b804ac095d55.tar.bz2 portage-ac263977391643f1c147d7e767b5b804ac095d55.zip |
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 <vapier@gentoo.org>
-rwxr-xr-x | 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 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 |