Relaxing package_source.py version checking

This commit is contained in:
Jeremy Leibs 2010-09-14 18:41:13 +00:00
parent d0c06aa815
commit 3210eaf952
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def package_source(path):
# Parse the version number from CMakeLists.txt # Parse the version number from CMakeLists.txt
with open(cmake_lists_path, 'r') as f: with open(cmake_lists_path, 'r') as f:
m = re.search('rosbuild_make_distribution\(([0-9.]*)\)',f.read()) m = re.search('rosbuild_make_distribution\((.*)\)',f.read())
if m is not None: if m is not None:
stack_version = m.group(1) stack_version = m.group(1)
else: else: