summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2007-01-30 10:26:51 +0000
committerPhil Blundell <philb@gnu.org>2007-01-30 10:26:51 +0000
commit358dab5fca8db61c3be55382557dc3a12638fa36 (patch)
tree2a1eb5c20da04bd0dfd57c174733011d4e763773 /classes
parentd906bed0439353ae47527ba63d207b02d2460acd (diff)
package.bbclass: don't try to rmdir("./"), it won't work
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass3
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: