1 |
commit: fd8f6a1146d35c2bf81b48b1d0e22860f65a692f |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 25 11:09:03 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 11:09:03 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=fd8f6a11 |
7 |
|
8 |
[eclass] Fix live ebuild logic. |
9 |
|
10 |
eclass/github.eclass | 8 ++++---- |
11 |
1 file changed, 4 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/eclass/github.eclass b/eclass/github.eclass |
14 |
index 7f33ab5..f2ff0c0 100644 |
15 |
--- a/eclass/github.eclass |
16 |
+++ b/eclass/github.eclass |
17 |
@@ -63,11 +63,11 @@ else |
18 |
_GH_BUILD_TYPE=$GH_BUILD_TYPE |
19 |
fi |
20 |
|
21 |
-if [[ ${GH_BUILD_TYPE} = live ]]; then |
22 |
+if [[ ${_GH_BUILD_TYPE} = live ]]; then |
23 |
inherit git-r3 |
24 |
fi |
25 |
|
26 |
-if [[ ${GH_BUILD_TYPE} = release ]]; then |
27 |
+if [[ ${_GH_BUILD_TYPE} = release ]]; then |
28 |
inherit vcs-snapshot |
29 |
fi |
30 |
|
31 |
@@ -108,9 +108,9 @@ _calculate_live_repo() { |
32 |
} |
33 |
|
34 |
|
35 |
-case ${GH_BUILD_TYPE} in |
36 |
+case ${_GH_BUILD_TYPE} in |
37 |
live) _calculate_live_repo ;; |
38 |
- default) _calculate_src_uri ;; |
39 |
+ release) _calculate_src_uri ;; |
40 |
esac |
41 |
_calculate_patches_uri |