X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60b881f7a6cf720d084ee7f8dd577c37160435e7..0d29fecd2eccfba09ec1ef158a314c3c95a28ada:/build/update-setup-h?ds=sidebyside 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