diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-05-26 13:48:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-05-26 13:49:38 +0200 |
commit | 50d60ffdc974d97a9cc58d44c9d31e26bcdbbaec (patch) | |
tree | 9ca30e7f751915c5ce5068901944085d16ffcb31 /eclass | |
parent | media-video/gpac-0.5.2-r0: add alpha keyword (diff) | |
download | gentoo-50d60ffdc974d97a9cc58d44c9d31e26bcdbbaec.tar.gz gentoo-50d60ffdc974d97a9cc58d44c9d31e26bcdbbaec.tar.bz2 gentoo-50d60ffdc974d97a9cc58d44c9d31e26bcdbbaec.zip |
git-r3.eclass: Allow *_LIVE* to unset ebuild-defined vars
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git-r3.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index d202e3383a44..b7a93338951c 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" |