summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-02-09 22:48:24 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-02-09 22:48:24 +0000
commit7b1144214c00a01e1008752d7416043b3f863894 (patch)
treed9a5eda8b9da99984bfa18517928b3dd54a5860d /bin
parent6845f7c2009253d9aa06210433c94e91361d56be (diff)
downloadbitbake-7b1144214c00a01e1008752d7416043b3f863894.tar.gz
bitbake/bin/bitbake:
Stop hardcoding the stamps directory directly but use the STAMP variable instead. The Package Version, Name and Release is already included in the STAMP variable. This patch was created by Phillip Zabel (pH5). Thank you
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 09417f6ec..247f28aa3 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -461,8 +461,7 @@ class BBCooker:
pn = bb.data.getVar('PN', the_data, 1)
pv = bb.data.getVar('PV', the_data, 1)
pr = bb.data.getVar('PR', the_data, 1)
- tmpdir = bb.data.getVar('TMPDIR', the_data, 1)
- stamp = '%s/stamps/%s-%s-%s.do_populate_staging' % (tmpdir, pn, pv, pr)
+ stamp = '%s.do_populate_staging' % bb.data.getVar('STAMP', the_data, 1)
if os.path.exists(stamp):
(newvers, fn) = preferred_versions[pn]
if not fn in eligible: