summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 48e4a28d83..82dcda9aec 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -122,7 +122,7 @@ def generate_git_config(e):
122 gitconfig_path = e.data.getVar('GIT_CONFIG', True) 122 gitconfig_path = e.data.getVar('GIT_CONFIG', True)
123 proxy_command = " gitProxy = %s\n" % data.getVar('OE_GIT_PROXY_COMMAND', e.data, True) 123 proxy_command = " gitProxy = %s\n" % data.getVar('OE_GIT_PROXY_COMMAND', e.data, True)
124 124
125 bb.mkdirhier(bb.data.expand("${GIT_CONFIG_PATH}", e.data)) 125 bb.mkdirhier(e.data.expand("${GIT_CONFIG_PATH}"))
126 if (os.path.exists(gitconfig_path)): 126 if (os.path.exists(gitconfig_path)):
127 os.remove(gitconfig_path) 127 os.remove(gitconfig_path)
128 128
@@ -307,7 +307,7 @@ python () {
307 def appendVar(varname, appends): 307 def appendVar(varname, appends):
308 if not appends: 308 if not appends:
309 return 309 return
310 varname = bb.data.expand(varname, d) 310 varname = d.expand(varname)
311 d.appendVar(varname, " " + " ".join(appends)) 311 d.appendVar(varname, " " + " ".join(appends))
312 312
313 extradeps = [] 313 extradeps = []