1 |
commit: 8513b9d9116f022beee4db57a2bae394b236e47b |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 25 11:18:05 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 11:18:05 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=8513b9d9 |
7 |
|
8 |
[eclass] Fix patch logic. |
9 |
|
10 |
eclass/github.eclass | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/github.eclass b/eclass/github.eclass |
14 |
index 7b83a99..1099bf0 100644 |
15 |
--- a/eclass/github.eclass |
16 |
+++ b/eclass/github.eclass |
17 |
@@ -75,13 +75,13 @@ HOMEPAGE="https://github.com/${GH_USER}/${GH_REPO}" |
18 |
|
19 |
EXPORT_FUNCTIONS src_prepare src_unpack |
20 |
|
21 |
+ |
22 |
# If patches are fetched, calculate their location |
23 |
_calculate_patches_uri() { |
24 |
if [[ -n $GH_PATCHES ]]; then |
25 |
- GH_PATCHES= |
26 |
for gh_commit in "${GH_PATCHES[@]}"; do |
27 |
SRC_URI+=" https://github.com/${GH_USER}/${GH_REPO}/commit/${gh_commit}.patch -> ${PN}-${gh_commit}.patch" |
28 |
- _GH_PATCHES+=( "${DISTDIR}"/${PN}-${gh_commit}.patch ) |
29 |
+ _GH_PATCHES+=("${DISTDIR}"/${PN}-${gh_commit}.patch) |
30 |
done |
31 |
fi |
32 |
} |