diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-02 11:56:03 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-02 11:56:03 +0000 |
commit | da8273d8164626e48755f26a487fd075388a24d4 (patch) | |
tree | 47e6fd420dd841c36698c0189c0f834e90201f05 | |
parent | 0af273b85c60279570acd5b06784d06d7c8a7d12 (diff) | |
download | bitbake-contrib-da8273d8164626e48755f26a487fd075388a24d4.tar.gz |
honour CVS_TARBALL_STASH_${PN}
-rw-r--r-- | bin/oe/fetch.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/oe/fetch.py b/bin/oe/fetch.py index f415a05a3..5463e2974 100644 --- a/bin/oe/fetch.py +++ b/bin/oe/fetch.py @@ -336,7 +336,12 @@ class Cvs(Fetch): oe.debug(1, "%s already exists, skipping cvs checkout." % tarfn) continue - cvs_tarball_stash = oe.data.getVar('CVS_TARBALL_STASH', d, 1) + pn = oe.data.getVar('PN', d, 1) + cvs_tarball_stash = None + if pn: + cvs_tarball_stash = oe.data.getVar('CVS_TARBALL_STASH_%s' % pn, d, 1) + if cvs_tarball_stash == None: + cvs_tarball_stash = oe.data.getVar('CVS_TARBALL_STASH', d, 1) if cvs_tarball_stash: fetchcmd = oe.data.getVar("FETCHCOMMAND_wget", d, 1) uri = cvs_tarball_stash + tarfn |