commit:     fd8f6a1146d35c2bf81b48b1d0e22860f65a692f
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 25 11:09:03 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Jun 25 11:09:03 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=fd8f6a11

[eclass] Fix live ebuild logic.

 eclass/github.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/github.eclass b/eclass/github.eclass
index 7f33ab5..f2ff0c0 100644
--- a/eclass/github.eclass
+++ b/eclass/github.eclass
@@ -63,11 +63,11 @@ else
        _GH_BUILD_TYPE=$GH_BUILD_TYPE
 fi
 
-if [[ ${GH_BUILD_TYPE} = live ]]; then
+if [[ ${_GH_BUILD_TYPE} = live ]]; then
        inherit git-r3
 fi
 
-if [[ ${GH_BUILD_TYPE} = release ]]; then
+if [[ ${_GH_BUILD_TYPE} = release ]]; then
        inherit vcs-snapshot
 fi
 
@@ -108,9 +108,9 @@ _calculate_live_repo() {
 }
 
 
-case ${GH_BUILD_TYPE} in
+case ${_GH_BUILD_TYPE} in
        live) _calculate_live_repo ;;
-       default) _calculate_src_uri ;;
+       release) _calculate_src_uri ;;
 esac
 _calculate_patches_uri
 

Reply via email to