diff options
author | Ned Ludd <solar@gentoo.org> | 2006-04-30 14:16:37 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2006-04-30 14:16:37 +0000 |
commit | 9152bcd2a2d0b1f79b9afed4e51970c6badc70a0 (patch) | |
tree | f790fcc1579af49f1c95fdc8ce52dcd3832cc895 | |
parent | ca9c922d3f0f1a696963680cc491e1ef79a1336b (diff) | |
download | portage-9152bcd2a2d0b1f79b9afed4e51970c6badc70a0.tar.gz portage-9152bcd2a2d0b1f79b9afed4e51970c6badc70a0.tar.bz2 portage-9152bcd2a2d0b1f79b9afed4e51970c6badc70a0.zip |
- be sure to remove o+w bits on debug files
svn path=/main/trunk/; revision=3288
-rwxr-xr-x | bin/prepstrip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepstrip b/bin/prepstrip index c8a648a36..a837d0a17 100755 --- a/bin/prepstrip +++ b/bin/prepstrip @@ -15,7 +15,7 @@ type -p -- ${STRIP} > /dev/null || STRIP=strip OBJCOPY=${OBJCOPY:-${CHOST}-objcopy} type -p -- ${OBJCOPY} > /dev/null || OBJCOPY=objcopy -PORTAGE_STRIP_FLAGS=${PORTAGE_STRIP_FLAGS:---strip-unneeded} +export PORTAGE_STRIP_FLAGS=${PORTAGE_STRIP_FLAGS:---strip-unneeded} banner=1 @@ -31,7 +31,7 @@ save_elf_debug() { mkdir -p $(dirname "${y}") ${OBJCOPY} --only-keep-debug "${x}" "${y}" ${OBJCOPY} --add-gnu-debuglink="${y}" "${x}" - chmod a-x "${y}" + chmod a-x,o-w "${y}" [[ " ${FEATURES} " != *" installsources "* ]] && return 0 |