From: Moritz Fischer Date: Mon, 5 Jul 2010 18:55:56 +0000 (-0700) Subject: gr-utils: fix out of tree project generator to properly update tarfile name X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29;p=debian%2Fgnuradio gr-utils: fix out of tree project generator to properly update tarfile name --- 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 1f512b21..d5e32c92 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("""