diff options
author | Phil Blundell <philb@gnu.org> | 2007-01-30 10:26:51 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2007-01-30 10:26:51 +0000 |
commit | 358dab5fca8db61c3be55382557dc3a12638fa36 (patch) | |
tree | 2a1eb5c20da04bd0dfd57c174733011d4e763773 /classes/package.bbclass | |
parent | d906bed0439353ae47527ba63d207b02d2460acd (diff) |
package.bbclass: don't try to rmdir("./"), it won't work
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r-- | classes/package.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index 59b78878ba..648b7467fb 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -396,7 +396,8 @@ python populate_packages () { newfiles = [ os.path.join(file,x) for x in os.listdir(file) ] if newfiles: files += newfiles - cleandirs = [file] + cleandirs + if file != "./": + cleandirs = [file] + cleandirs continue globbed = glob.glob(file) if globbed: |