diff options
| author | Johannes Huber <johu@gentoo.org> | 2014-05-27 19:27:42 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2014-05-27 19:27:42 +0200 |
| commit | 79efc416ad655ae05ae717455a297007f05189c2 (patch) | |
| tree | 0d358ca9849cd8f39eac8cf0bcb958feb432ef28 | |
| parent | 0a8ba253a05193bd06d74d0b235660ed60a11ffb (diff) | |
| download | kde-79efc416ad655ae05ae717455a297007f05189c2.tar.gz kde-79efc416ad655ae05ae717455a297007f05189c2.tar.bz2 kde-79efc416ad655ae05ae717455a297007f05189c2.zip | |
[eclass] Fix git repo src uri calculation
Allow to overwrite KMNAME with EGIT_REPONAME.
| -rw-r--r-- | eclass/kde5.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index fe447f873ed..c0a1deaa106 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -217,7 +217,14 @@ _calculate_live_repo() { # (anongit) with anything else you might want to use. EGIT_MIRROR=${EGIT_MIRROR:=git://anongit.kde.org} - if [[ -n ${KMNAME} ]]; then + # @ECLASS-VARIABLE: EGIT_REPONAME + # @DESCRIPTION: + # This variable allows overriding of default repository + # name. Specify only if this differ from PN and KMNAME. + if [[ -n ${EGIT_REPONAME} ]]; then + # the repository and kmname different + _kmname=${EGIT_REPONAME} + elif [[ -n ${KMNAME} ]]; then _kmname=${KMNAME} else _kmname=${PN} |
