summaryrefslogtreecommitdiff
path: root/contrib/oeaudit
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-22 05:21:36 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-22 05:21:36 +0100
commit950e9fd872480a8f0feeecf274fdd54d53cc07cb (patch)
treec79d041eefc7592c4505399f6262f65a4df8fe83 /contrib/oeaudit
parent054df308d46daa9563ecb0123e7a2d166b8c56cd (diff)
oeaudit: Add the FreeBSD revision to the package version.
Diffstat (limited to 'contrib/oeaudit')
-rw-r--r--contrib/oeaudit/freebsd.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/oeaudit/freebsd.py b/contrib/oeaudit/freebsd.py
index e5e8440a2d..5765e8a726 100644
--- a/contrib/oeaudit/freebsd.py
+++ b/contrib/oeaudit/freebsd.py
@@ -188,5 +188,7 @@ def prepare_version(bsd_version):
split = bsd_version.rsplit(',', 1)
split = split[0]
split = split.rsplit('_', 1)
+ if len(split) == 2:
+ rev = "r%s" % split[1]
return (split[0], rev)