summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-18 16:29:18 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-18 16:29:18 +0000
commit35e13db889e6af76191b0a07de06ddb95b67b5db (patch)
tree88a1bc41a8a74119f3c8c87ee03532a475b45b2f
parent84210e78a9dce4b305ca1f00d92fa1de7d56fea9 (diff)
Fix for newer git (I think...)
-rwxr-xr-xcdist3
1 files changed, 3 insertions, 0 deletions
diff --git a/cdist b/cdist
index c463cba..f238038 100755
--- a/cdist
+++ b/cdist
@@ -753,6 +753,9 @@ elif args.command == 'latest':
if m:
tags = m.group(1).split(', ')
for t in tags:
+ s = t.split()
+ if len(s) > 1:
+ t = s[1]
if len(t) > 0 and t[0] == 'v':
latest = t[1:]