From: Ned Ludd Date: Sun, 30 Apr 2006 14:16:37 +0000 (-0000) Subject: - be sure to remove o+w bits on debug files X-Git-Tag: v2.1_rc1~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9152bcd2a2d0b1f79b9afed4e51970c6badc70a0;p=portage.git - be sure to remove o+w bits on debug files svn path=/main/trunk/; revision=3288 --- 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