summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-01-07 21:42:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-07 21:42:26 +0000
commitb6079b6c268d8df773e42a191f12c9afcd17d1c6 (patch)
treee665d9ee8167a8237254a624c79a3db8b7837cd3 /classes/base.bbclass
parent1fbdad585b0137cecf62a86a6dac7e91a44505a6 (diff)
Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to x.x.x+cvsYYYYMMDD format and some includes some minor whitespace cleanup.
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index b0ca9358bd..9b87828594 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -722,9 +722,9 @@ python __anonymous () {
pn = bb.data.getVar('PN', d, 1)
- cvsdate = bb.data.getVar('CVSDATE_%s' % pn, d, 1)
- if cvsdate != None:
- bb.data.setVar('CVSDATE', cvsdate, d)
+ srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1)
+ if srcdate != None:
+ bb.data.setVar('SRCDATE', srcdate, d)
use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
if use_nls != None: