Wireshark-dev: [Wireshark-dev] Cygwin Bash update breaks verify_tools
I just updated cygwin today and found that when I typed this:
> nmake -f Makefile.nmake verify_tools
it failed with the following error messages:
Microsoft (R) Program Maintenance Utility Version
6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
: command not foundh: line 2:
: command not foundh: line 4:
'ools/win32-setup.sh: line 5: syntax error near unexpected token `{
'ools/win32-
setup.sh: line 5: `err_exit () {
NMAKE : fatal error U1077: 'bash' : return code '0x2'
Stop.
I used the cygwin setup utility to reinstall the previous version of bash and then it worked again.
The new version that breaks it is BASH_VERSION='
3.1.17(9)-release'. The cygwin package is bash-3.1.9.tar-bz2.
The previous version that works for me is BASH_VERSION='3.1.17(6)-release'. The cygwin package is bash-3.1.6.tar.bz2.
Maybe I can save somebody else the hassle of tracking this down.
Now as to why it breaks -- I don't know and don't care to pursue it...
-- Wayne