summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-02 11:56:03 +0000
committerPhil Blundell <philb@gnu.org>2004-08-02 11:56:03 +0000
commitda8273d8164626e48755f26a487fd075388a24d4 (patch)
tree47e6fd420dd841c36698c0189c0f834e90201f05
parent0af273b85c60279570acd5b06784d06d7c8a7d12 (diff)
downloadbitbake-contrib-da8273d8164626e48755f26a487fd075388a24d4.tar.gz
honour CVS_TARBALL_STASH_${PN}
-rw-r--r--bin/oe/fetch.py7
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