media-tv/gentoo-vdr-scripts: Fix DOCS expansion
authorMichał Górny <mgorny@gentoo.org>
Thu, 5 May 2016 21:13:12 +0000 (23:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 5 May 2016 21:14:46 +0000 (23:14 +0200)
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.

media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.5.ebuild

index 4e8431bdc8b511b3fdee55874533f8f736d23a0e..ba4f064d86fe10a5ff268970e88dd9b978e47689 100644 (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