1 |
The writable issue shows up when using `ebuild` as non-root users |
2 |
in non-prefix setups. So always do it. |
3 |
|
4 |
Signed-off-by: Mike Frysinger <vapier@g.o> |
5 |
--- |
6 |
bin/ebuild-helpers/prepstrip | 2 +- |
7 |
1 files changed, 1 insertions(+), 1 deletions(-) |
8 |
|
9 |
diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip |
10 |
index 1d7b3d2..ee547f2 100755 |
11 |
--- a/bin/ebuild-helpers/prepstrip |
12 |
+++ b/bin/ebuild-helpers/prepstrip |
13 |
@@ -224,7 +224,7 @@ do |
14 |
# unwritable objects. Make them temporarily writable for the |
15 |
# stripping. |
16 |
was_not_writable=false |
17 |
- if [[ -n ${EPREFIX} && ! -w ${x} ]] ; then |
18 |
+ if [[ ! -w ${x} ]] ; then |
19 |
was_not_writable=true |
20 |
chmod u+w "${x}" |
21 |
fi |
22 |
-- |
23 |
1.7.8.3 |