Message ID | 7ee67c1504b3929b663e667ba2399baf606153f0.1385196868.git.Morten.ThunbergSvendsen@prevas.dk |
---|---|
State | Accepted |
Delegated to: | Esben Haabendal |
Headers | show |
Merged to master, thanks. /Esben
diff --git a/classes/sdk-image.oeclass b/classes/sdk-image.oeclass index b2113f4..044ec9c 100644 --- a/classes/sdk-image.oeclass +++ b/classes/sdk-image.oeclass @@ -68,7 +68,9 @@ def image_preprocess_elf_sowrap(d): print "ERROR: file already exists:", os.path.join(dir, path) ok = False continue - if is_elf(path) and is_static(path): + if not is_elf(path): + continue + if is_static(path): continue os.rename(path, dotpath) with open(path, "w") as wrapper: