Rework version check - extract function so we can use the check elsewhere - use shell variable expansion rather than exec-ing 'cut'
Rework version check
- extract function so we can use the check elsewhere
- use shell variable expansion rather than exec-ing 'cut'

n054/weave,rade/weave,paulbellamy/weave,n054/weave,tomwilkie/weave,weaveworks/weave,dpw/weave,tomwilkie/weave,aaam/weave,dpw/weave,rade/weave,aaam/weave,dpw/weave,rade/weave,dpw/weave,tomwilkie/weave,weaveworks/weave,tomwilkie/weave,n054/weave,n054/weave,aaam/weave,paulbellamy/weave,paulbellamy/weave,paulbellamy/weave,weaveworks/weave,aaam/weave,aaam/weave,rade/weave,dpw/weave,n054/weave,weaveworks/weave,rade/weave,tomwilkie/weave