commit:     50d60ffdc974d97a9cc58d44c9d31e26bcdbbaec
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 11:48:38 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 26 11:49:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50d60ffd

git-r3.eclass: Allow *_LIVE* to unset ebuild-defined vars

 eclass/git-r3.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index d202e33..b7a9333 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -240,17 +240,17 @@ _git-r3_env_setup() {
        esc_pn=${PN//[-+]/_}
 
        livevar=${esc_pn}_LIVE_REPO
-       EGIT_REPO_URI=${!livevar:-${EGIT_REPO_URI}}
+       EGIT_REPO_URI=${!livevar-${EGIT_REPO_URI}}
        [[ ${!livevar} ]] \
                && ewarn "Using ${livevar}, no support will be provided"
 
        livevar=${esc_pn}_LIVE_BRANCH
-       EGIT_BRANCH=${!livevar:-${EGIT_BRANCH}}
+       EGIT_BRANCH=${!livevar-${EGIT_BRANCH}}
        [[ ${!livevar} ]] \
                && ewarn "Using ${livevar}, no support will be provided"
 
        livevar=${esc_pn}_LIVE_COMMIT
-       EGIT_COMMIT=${!livevar:-${EGIT_COMMIT}}
+       EGIT_COMMIT=${!livevar-${EGIT_COMMIT}}
        [[ ${!livevar} ]] \
                && ewarn "Using ${livevar}, no support will be provided"
 

Reply via email to