diff options
author | Moritz Fischer | 2010-07-05 11:55:56 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-07-05 11:55:56 -0700 |
commit | 272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29 (patch) | |
tree | 04f5e60b98a363ba9af80e3f3e3997e520716a3c /gr-utils/src/python/create-gnuradio-out-of-tree-project | |
parent | 7361b03b245776938f0576435e3ccf4806622e3e (diff) | |
download | gnuradio-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-x | gr-utils/src/python/create-gnuradio-out-of-tree-project | 4 |
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(""" |