media-tv/gentoo-vdr-scripts: Fix DOCS expansion

Delay DOCS expansion until src_install(). It is meaningless in global
scope since it happens in arbitrary directory which will not have
README* files. Furthermore, it triggers verbose failure due to failglob.
This commit is contained in:
Michał Górny
2016-05-05 23:13:12 +02:00
parent e655a96976
commit 41f47516b7

View File

@@ -22,8 +22,6 @@ RDEPEND="nvram? ( sys-power/nvram-wakeup )
VDR_HOME=/var/vdr
DOCS=( README* TODO ChangeLog )
pkg_setup() {
enewgroup vdr
@@ -43,6 +41,8 @@ src_prepare() {
}
src_install() {
local DOCS=( README* TODO ChangeLog )
default
# create necessary directories