diff options
-rw-r--r-- | meta/classes/rm_work.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 1600fc8177..87c4459a12 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass | |||
@@ -11,7 +11,9 @@ BB_DEFAULT_TASK = "rm_work_all" | |||
11 | 11 | ||
12 | do_rm_work () { | 12 | do_rm_work () { |
13 | # Ensure pseudo is no longer active | 13 | # Ensure pseudo is no longer active |
14 | ${FAKEROOT} -S | 14 | if [ -d ${WORKDIR}/pseudo ]; then |
15 | ${FAKEROOT} -S | ||
16 | fi | ||
15 | cd ${WORKDIR} | 17 | cd ${WORKDIR} |
16 | for dir in * | 18 | for dir in * |
17 | do | 19 | do |