projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5690ca2
)
prepstrip: add writable workaround for everyone
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 13 Jan 2012 19:29:06 +0000
(14:29 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 14 Jan 2012 21:37:24 +0000
(16:37 -0500)
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>
bin/ebuild-helpers/prepstrip
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/prepstrip
b/bin/ebuild-helpers/prepstrip
index 1d7b3d2fd527e76f84f934a704ae2d9d9866a5ed..ee547f2358ea6b2f5f99b973a9eee5dcfd1384c3 100755
(executable)
--- 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