Commit 8202421c authored by Pekka Pessi's avatar Pekka Pessi
Browse files

win32/build_sources.cmd: do the right thing by default with msg_parser.awk

There is a bug in gawk 3.1.3 in Win32 returning error code from exit
in END block unless exit is called with (-1) as its
parameter. Avoiding that bug was the default behaviou earlier,
resulting error with gawk 3.1.5.

parent 367f4f90
......@@ -13,8 +13,10 @@
@goto failed
:: in Win32 exit 0; from awk gets converted to errorlevel 1
@set MSG_AWK=gawk -v BINMODE=rw -f ../libsofia-sip-ua/msg/msg_parser.awk success=-1
@set MSG_AWK=gawk -v BINMODE=rw -f ../libsofia-sip-ua/msg/msg_parser.awk
:: in Win32 exit 0; from gawk 3.1.3 gets converted to errorlevel 1
:: If you have gawk 3.1.3 uncomment the following line
:: @set MSG_AWK=gawk -v BINMODE=rw -f ../libsofia-sip-ua/msg/msg_parser.awk success=-1
@set TAG_AWK=gawk -f ../libsofia-sip-ua/su/tag_dll.awk BINMODE=rw
@set IN=../libsofia-sip-ua/msg/test_class.h
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment