diff options
Diffstat (limited to 'meta/classes/chrpath.bbclass')
| -rw-r--r-- | meta/classes/chrpath.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/chrpath.bbclass b/meta/classes/chrpath.bbclass index e9160af6b4..9c68855ab2 100644 --- a/meta/classes/chrpath.bbclass +++ b/meta/classes/chrpath.bbclass | |||
| @@ -6,7 +6,7 @@ def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir, d): | |||
| 6 | 6 | ||
| 7 | p = sub.Popen([cmd, '-l', fpath],stdout=sub.PIPE,stderr=sub.PIPE) | 7 | p = sub.Popen([cmd, '-l', fpath],stdout=sub.PIPE,stderr=sub.PIPE) |
| 8 | err, out = p.communicate() | 8 | err, out = p.communicate() |
| 9 | # If returned succesfully, process stderr for results | 9 | # If returned successfully, process stderr for results |
| 10 | if p.returncode != 0: | 10 | if p.returncode != 0: |
| 11 | return | 11 | return |
| 12 | 12 | ||
| @@ -45,7 +45,7 @@ def process_file_darwin(cmd, fpath, rootdir, baseprefix, tmpdir, d): | |||
| 45 | 45 | ||
| 46 | p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', fpath],stdout=sub.PIPE,stderr=sub.PIPE) | 46 | p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', fpath],stdout=sub.PIPE,stderr=sub.PIPE) |
| 47 | err, out = p.communicate() | 47 | err, out = p.communicate() |
| 48 | # If returned succesfully, process stderr for results | 48 | # If returned successfully, process stderr for results |
| 49 | if p.returncode != 0: | 49 | if p.returncode != 0: |
| 50 | return | 50 | return |
| 51 | for l in err.split("\n"): | 51 | for l in err.split("\n"): |
