From: Phil Blundell Date: Tue, 30 Jan 2007 10:26:51 +0000 (+0000) Subject: package.bbclass: don't try to rmdir("./"), it won't work X-Git-Tag: Release-2010-05/1~9314^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=358dab5fca8db61c3be55382557dc3a12638fa36;p=openembedded.git package.bbclass: don't try to rmdir("./"), it won't work --- 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: