summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/modtool_rename.py
diff options
context:
space:
mode:
authorJacob Gilbert <mrjacobagilbert@gmail.com>2016-02-21 08:50:58 -0800
committerJacob Gilbert <mrjacobagilbert@gmail.com>2016-02-21 08:50:58 -0800
commitcf5ebff46e5bdc6044d8bfa65a5def82069cf3ce (patch)
tree578d7e57273440fcc754936b55567162fd365e35 /gr-utils/python/modtool/modtool_rename.py
parent9dfc6c14c6424b78facfe75bc110dcf6eb14448e (diff)
gr_modtool: gr_modtool rename command attempts to move GRC XML files based on block name, however it creates them with the module name prefixed, and attempts to move the wrong files. This fixes that behavior
Diffstat (limited to 'gr-utils/python/modtool/modtool_rename.py')
-rw-r--r--gr-utils/python/modtool/modtool_rename.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/modtool_rename.py b/gr-utils/python/modtool/modtool_rename.py
index 8f1b250c00..68ac785e0f 100644
--- a/gr-utils/python/modtool/modtool_rename.py
+++ b/gr-utils/python/modtool/modtool_rename.py
@@ -168,7 +168,7 @@ class ModToolRename(ModTool):
grcfile = './grc/' + module + '_' + old + '.xml'
self._run_file_replace(grcfile, old, new)
self._run_cmakelists('./grc/', old, new)
- self._run_file_rename('./grc/', old, new)
+ self._run_file_rename('./grc/', module + '_' + old, module + '_' + new)
def _run_cmakelists(self, path, first, second):
filename = path + 'CMakeLists.txt'