Evidently the Win32 git port converts from *nix to DOS
line endings on checkout. This confuses the awk use in
pmgenmap.sh, causing the build to fail with a mysterious
"syntax error" message. Fixed by converting back to *nix
form (using tr) before awk encounters the unexpected line
endings. Something to watch out for, will almost surely
bite us again somewhere else.
Fix the Win32 build after a fresh git checkout.
Evidently the Win32 git port converts from *nix to DOS
line endings on checkout. This confuses the awk use in
pmgenmap.sh, causing the build to fail with a mysterious
"syntax error" message. Fixed by converting back to *nix
form (using tr) before awk encounters the unexpected line
endings. Something to watch out for, will almost surely
bite us again somewhere else.