summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/create-gnuradio-out-of-tree-project
diff options
context:
space:
mode:
authorMoritz Fischer2010-07-05 11:55:56 -0700
committerJohnathan Corgan2010-07-05 11:55:56 -0700
commit272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29 (patch)
tree04f5e60b98a363ba9af80e3f3e3997e520716a3c /gr-utils/src/python/create-gnuradio-out-of-tree-project
parent7361b03b245776938f0576435e3ccf4806622e3e (diff)
downloadgnuradio-272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29.tar.gz
gnuradio-272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29.tar.bz2
gnuradio-272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29.zip
gr-utils: fix out of tree project generator to properly update tarfile name
Diffstat (limited to 'gr-utils/src/python/create-gnuradio-out-of-tree-project')
-rwxr-xr-xgr-utils/src/python/create-gnuradio-out-of-tree-project4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/src/python/create-gnuradio-out-of-tree-project b/gr-utils/src/python/create-gnuradio-out-of-tree-project
index 1f512b219..d5e32c92b 100755
--- a/gr-utils/src/python/create-gnuradio-out-of-tree-project
+++ b/gr-utils/src/python/create-gnuradio-out-of-tree-project
@@ -52,8 +52,8 @@ def main():
# rename file contents
upper_module_name = module_name.upper()
- sed_cmd = 'sed -i -e "s/howto/%s/g" -e "s/HOWTO/%s/g"' % (module_name,
- upper_module_name)
+ sed_cmd = 'sed -i -e "s/howto-write-a-block/%s/g" -e "s/howto/%s/g" -e "s/HOWTO/%s/g"' % (module_name, module_name, \
+ upper_module_name)
os.system('find . -type f -print0 | xargs -0 ' + sed_cmd)
sys.stdout.write("""