summaryrefslogtreecommitdiffstats
path: root/bin/prepstrip
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-11 05:49:57 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-11 05:49:57 +0000
commitbb0c42fcc98ec289121caa3ca7cde0f53822a410 (patch)
treef841275a3c03577b7c19d89b0a505564c116d707 /bin/prepstrip
parente13a0f8091d6d846f3228c66b69a50f47f17077d (diff)
downloadportage-bb0c42fcc98ec289121caa3ca7cde0f53822a410.tar.gz
portage-bb0c42fcc98ec289121caa3ca7cde0f53822a410.tar.bz2
portage-bb0c42fcc98ec289121caa3ca7cde0f53822a410.zip
Bug #203887 - Implement RESTRICT=installsources for binaries that are
not compatible with debugedit. (trunk r9167) svn path=/main/branches/2.1.2/; revision=9175
Diffstat (limited to 'bin/prepstrip')
-rwxr-xr-xbin/prepstrip1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/prepstrip b/bin/prepstrip
index a5d4278de..bc2fa79cf 100755
--- a/bin/prepstrip
+++ b/bin/prepstrip
@@ -32,6 +32,7 @@ fi
save_elf_sources() {
hasq installsources ${FEATURES} || return 0
+ hasq installsources ${RESTRICT} && return 0
type -P debugedit >/dev/null || return 0
local x=$1