X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Ffilter%2Fgenerate_gr_fir_util.py;h=4f5f5ce06a89648a8edd210a5dd0975e7756ee01;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=7cb14dcd9e47ba21b548a92df7ade6319b8513b7;hpb=18a684bf3dc144c48fc4cc6cc72f5070febd8074;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/filter/generate_gr_fir_util.py b/gnuradio-core/src/lib/filter/generate_gr_fir_util.py index 7cb14dcd..4f5f5ce0 100755 --- a/gnuradio-core/src/lib/filter/generate_gr_fir_util.py +++ b/gnuradio-core/src/lib/filter/generate_gr_fir_util.py @@ -1,12 +1,12 @@ #!/bin/env python # -# Copyright 2003 Free Software Foundation, Inc. +# Copyright 2003,2009 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) +# the Free Software Foundation; either version 3, or (at your option) # any later version. # # GNU Radio is distributed in the hope that it will be useful, @@ -44,6 +44,8 @@ def make_info (out, sig): def make_gr_fir_util_h (): out = open_and_log_name ('gr_fir_util.h', 'w') + if not out: + return out.write (copyright) out.write ( @@ -142,6 +144,8 @@ gr_fir_util::get_gr_fir_%s_info (std::vector *info) def make_gr_fir_util_cc (): out = open_and_log_name ('gr_fir_util.cc', 'w') + if not out: + return out.write (copyright) out.write ('''