diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-02 11:18:42 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-02 11:18:42 +0000 |
commit | 01793c5bd3b29fca6002e44e2ff59ef16d600c72 (patch) | |
tree | 2c079ba831c80ae0d9e1dc4e6334360c8b5658d0 /meta/classes | |
parent | 3ab2ff7668229f8f103043aaaad9310d607510bb (diff) | |
download | poky-01793c5bd3b29fca6002e44e2ff59ef16d600c72.tar.gz |
base.bbclass: Remove pointless expand call
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 0edd4127c8..5f83af1fa3 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -694,10 +694,10 @@ python base_do_unpack() { | |||
694 | localdata = bb.data.createCopy(d) | 694 | localdata = bb.data.createCopy(d) |
695 | bb.data.update_data(localdata) | 695 | bb.data.update_data(localdata) |
696 | 696 | ||
697 | src_uri = bb.data.getVar('SRC_URI', localdata) | 697 | src_uri = bb.data.getVar('SRC_URI', localdata, True) |
698 | if not src_uri: | 698 | if not src_uri: |
699 | return | 699 | return |
700 | src_uri = bb.data.expand(src_uri, localdata) | 700 | |
701 | for url in src_uri.split(): | 701 | for url in src_uri.split(): |
702 | try: | 702 | try: |
703 | local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) | 703 | local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) |