diff options
-rw-r--r-- | meta/classes/ptest.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index e87a9659cb..936bf82736 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass | |||
@@ -84,8 +84,8 @@ python ptest_update_alternatives() { | |||
84 | return | 84 | return |
85 | 85 | ||
86 | bb.note("Generating symlinks for ptest") | 86 | bb.note("Generating symlinks for ptest") |
87 | bin_paths = { os.environ["bindir"], os.environ["base_bindir"], | 87 | bin_paths = { d.getVar("bindir"), d.getVar("base_bindir"), |
88 | os.environ["sbindir"], os.environ["base_sbindir"] } | 88 | d.getVar("sbindir"), d.getVar("base_sbindir") } |
89 | ptest_bindir = d.getVar("PTEST_BINDIR_PKGD_PATH") | 89 | ptest_bindir = d.getVar("PTEST_BINDIR_PKGD_PATH") |
90 | os.mkdir(ptest_bindir) | 90 | os.mkdir(ptest_bindir) |
91 | for pkg in (d.getVar('PACKAGES') or "").split(): | 91 | for pkg in (d.getVar('PACKAGES') or "").split(): |