]> git.openpandora.org Git - openembedded.git/commitdiff
package.bbclass: don't try to rmdir("./"), it won't work
authorPhil Blundell <philb@gnu.org>
Tue, 30 Jan 2007 10:26:51 +0000 (10:26 +0000)
committerPhil Blundell <philb@gnu.org>
Tue, 30 Jan 2007 10:26:51 +0000 (10:26 +0000)
classes/package.bbclass

index 59b78878ba3545c2e17505d58ee06c864d173adb..648b7467fbd4bd182a38b777bc1b1bb2434f18ca 100644 (file)
@@ -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: