]> git.saurik.com Git - wxWidgets.git/commitdiff
updated the script to deal with licensing information added to wx/setup_inc.h
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jul 2005 00:29:41 +0000 (00:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jul 2005 00:29:41 +0000 (00:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/update-setup-h

index d5b6ea60fbccf4dc5aefb8775afa79404b6dcf57..58b1e1bc89bfe46bd41d7fdb3c79cc43a38b2984 100755 (executable)
@@ -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