summaryrefslogtreecommitdiffstats
path: root/bin/prepstrip
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-11 05:14:43 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-11 05:14:43 +0000
commit93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b (patch)
tree10a75324128285bcc3cb6d31dec68efbf3e7a3ea /bin/prepstrip
parent9a8ec636aba2eec44e3f24e99b4f703df573ec4c (diff)
downloadportage-93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b.tar.gz
portage-93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b.tar.bz2
portage-93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b.zip
Bug #203887 - Implement RESTRICT=installsources for binaries that are
not compatible with debugedit. svn path=/main/trunk/; revision=9167
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