diff options
Diffstat (limited to 'bitbake/lib/bb/codeparser.py')
| -rw-r--r-- | bitbake/lib/bb/codeparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py index d425514481..2590e5cae7 100644 --- a/bitbake/lib/bb/codeparser.py +++ b/bitbake/lib/bb/codeparser.py | |||
| @@ -36,8 +36,8 @@ pythonparsecache = {} | |||
| 36 | shellparsecache = {} | 36 | shellparsecache = {} |
| 37 | 37 | ||
| 38 | def parser_cachefile(d): | 38 | def parser_cachefile(d): |
| 39 | cachedir = (bb.data.getVar("PERSISTENT_DIR", d, True) or | 39 | cachedir = (d.getVar("PERSISTENT_DIR", True) or |
| 40 | bb.data.getVar("CACHE", d, True)) | 40 | d.getVar("CACHE", True)) |
| 41 | if cachedir in [None, '']: | 41 | if cachedir in [None, '']: |
| 42 | return None | 42 | return None |
| 43 | bb.utils.mkdirhier(cachedir) | 43 | bb.utils.mkdirhier(cachedir) |
