summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-12-18 12:13:32 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-18 12:13:32 +0000
commitfe55fe7a4192eebe8c60acef05ac0afb79a771c7 (patch)
tree17b86bad261e1dc919271e80c0d21a72a968b2fe /meta/classes/base.bbclass
parent1ec852688b9da684378c51d2305d3d06f1cccfec (diff)
downloadpoky-fe55fe7a4192eebe8c60acef05ac0afb79a771c7.tar.gz
base.bbclass: Fix missing argument
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 048353170f..079a2d9205 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -791,8 +791,8 @@ def base_get_metadata_git_branch(path, d):
791 return branch 791 return branch
792 return "<unknown>" 792 return "<unknown>"
793 793
794def base_get_metadata_git_revision(d): 794def base_get_metadata_git_revision(path, d):
795 rev = os.popen("cd %s; git log -n 1 --pretty=oneline --" % base_get_scmbasepath(d)).read().split(" ")[0] 795 rev = os.popen("cd %s; git log -n 1 --pretty=oneline --" % path).read().split(" ")[0]
796 if len(rev) != 0: 796 if len(rev) != 0:
797 return rev 797 return rev
798 return "<unknown>" 798 return "<unknown>"