summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/git-r3.eclass')
-rw-r--r--eclass/git-r3.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index 817638dc0de4..f76f1a7ea596 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -253,6 +253,7 @@ _git-r3_env_setup() {
local esc_pn livevar
esc_pn=${PN//[-+]/_}
+ [[ ${esc_pn} == [0-9]* ]] && esc_pn=_${esc_pn}
livevar=${esc_pn}_LIVE_REPO
EGIT_REPO_URI=${!livevar-${EGIT_REPO_URI}}