summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/perforce.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/perforce.py')
-rw-r--r--bitbake/lib/bb/fetch2/perforce.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py
index 6347834c76..cbdc84853c 100644
--- a/bitbake/lib/bb/fetch2/perforce.py
+++ b/bitbake/lib/bb/fetch2/perforce.py
@@ -152,7 +152,7 @@ class Perforce(FetchMethod):
152 152
153 # create temp directory 153 # create temp directory
154 logger.debug(2, "Fetch: creating temporary directory") 154 logger.debug(2, "Fetch: creating temporary directory")
155 bb.mkdirhier(data.expand('${WORKDIR}', localdata)) 155 bb.utils.mkdirhier(data.expand('${WORKDIR}', localdata))
156 data.setVar('TMPBASE', data.expand('${WORKDIR}/oep4.XXXXXX', localdata), localdata) 156 data.setVar('TMPBASE', data.expand('${WORKDIR}/oep4.XXXXXX', localdata), localdata)
157 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, True) or "false") 157 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, True) or "false")
158 tmpfile = tmppipe.readline().strip() 158 tmpfile = tmppipe.readline().strip()