summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/modtool_base.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@kit.edu>2013-11-13 10:24:36 -0500
committerTom Rondeau <tom@trondeau.com>2013-11-13 10:24:36 -0500
commit159357d5f74225e0f53a522b5d5066e6f3315876 (patch)
tree9b36fb07c483caec2d7c8a83f8b942d85ec0ed88 /gr-utils/python/modtool/modtool_base.py
parent42521b0c7f6bf7406807e09ddaddbd1e13ba87de (diff)
modtool: relax the OOT module detection regex
Diffstat (limited to 'gr-utils/python/modtool/modtool_base.py')
-rw-r--r--gr-utils/python/modtool/modtool_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-utils/python/modtool/modtool_base.py b/gr-utils/python/modtool/modtool_base.py
index f8fc8639c4..86cbd8f420 100644
--- a/gr-utils/python/modtool/modtool_base.py
+++ b/gr-utils/python/modtool/modtool_base.py
@@ -141,8 +141,7 @@ class ModTool(object):
self._info['is_component'] = False
for f in files:
if os.path.isfile(f) and f == 'CMakeLists.txt':
- if re.search('find_package\(GnuradioRuntime\)', open(f).read()) is not None or \
- re.search('find_package\(Gnuradio(\s+[0-9".]+)?\)', open(f).read()) is not None:
+ if re.search('find_package\(Gnuradio', open(f).read()) is not None:
self._info['version'] = '36' # Might be 37, check that later
has_makefile = True
elif re.search('GR_REGISTER_COMPONENT', open(f).read()) is not None: