From: Vadim Zeitlin Date: Sat, 30 Jul 2005 00:29:41 +0000 (+0000) Subject: updated the script to deal with licensing information added to wx/setup_inc.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0818de2d5b35fff1efc13774f4d2766db9d3e2bc updated the script to deal with licensing information added to wx/setup_inc.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/update-setup-h b/build/update-setup-h index d5b6ea60fb..58b1e1bc89 100755 --- a/build/update-setup-h +++ b/build/update-setup-h @@ -28,7 +28,8 @@ msg() # file the common options are meant to be included in is the parameter) cat_common_options_for() { - cmd="cat include/wx/setup_inc.h" + # get rid of the copyright header on top of the file + cmd="sed '1,/^$/d' include/wx/setup_inc.h" # the file used for configure is special: we need to get rid of C++ # comments in it because it is included by some C code and we also have to