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 | |
parent | 8f0819fd59e045c2576340dd053052c2b0c60308 (diff) | |
download | gentoo-50d60ffdc974d97a9cc58d44c9d31e26bcdbbaec.tar.gz gentoo-50d60ffdc974d97a9cc58d44c9d31e26bcdbbaec.tar.xz |
git-r3.eclass: Allow *_LIVE* to unset ebuild-defined vars
-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 d202e3383a4..b7a93338951 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" |