1 |
commit: 41f47516b7fb6ea09963717f0f4cb49e2ce14787 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 5 21:13:12 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 5 21:14:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f47516 |
7 |
|
8 |
media-tv/gentoo-vdr-scripts: Fix DOCS expansion |
9 |
|
10 |
Delay DOCS expansion until src_install(). It is meaningless in global |
11 |
scope since it happens in arbitrary directory which will not have |
12 |
README* files. Furthermore, it triggers verbose failure due to failglob. |
13 |
|
14 |
media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.5.ebuild | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.5.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.5.ebuild |
18 |
index 4e8431b..ba4f064 100644 |
19 |
--- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.5.ebuild |
20 |
+++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.7.5.ebuild |
21 |
@@ -22,8 +22,6 @@ RDEPEND="nvram? ( sys-power/nvram-wakeup ) |
22 |
|
23 |
VDR_HOME=/var/vdr |
24 |
|
25 |
-DOCS=( README* TODO ChangeLog ) |
26 |
- |
27 |
pkg_setup() { |
28 |
enewgroup vdr |
29 |
|
30 |
@@ -43,6 +41,8 @@ src_prepare() { |
31 |
} |
32 |
|
33 |
src_install() { |
34 |
+ local DOCS=( README* TODO ChangeLog ) |
35 |
+ |
36 |
default |
37 |
|
38 |
# create necessary directories |