summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-20 11:14:45 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-20 11:14:45 +0100
commit9fd535b0de736044013231d1c6d576f07d0dcf93 (patch)
treed22955c55d7c4e3bde6dd493c57c6a70da9bf36a /classes/package.bbclass
parent603e1cf2f9901603452544d79f6d8d8aeb57dec8 (diff)
package bbclass: drop ret = 0 check for bb.copyfile since it will return either False or the new mtime
* Yes, I have files that claim to be from 19700101 :)
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 008eca5530..bb81f33b29 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -427,7 +427,7 @@ python populate_packages () {
dpath = os.path.dirname(fpath)
bb.mkdirhier(dpath)
ret = bb.copyfile(file, fpath)
- if ret is False or ret == 0:
+ if ret is False:
raise bb.build.FuncFailed("File population failed when copying %s to %s" % (file, fpath))
if pkg == main_pkg and main_is_empty:
main_is_empty = 0