Writing of yaws_dynopts.erl fails if the Yaws include path contains a tilde (~) character. This happens often on Windows for long paths (e.g. c:/Users/ADMINI~1/repos/yaws).
Reproduce:
git clone https://github.com/klacke/yaws.git yaws~1
autoreconf -fi && ./configure && make && make test
[...]
Kernel pid terminated (application_controller) ({application_start_failure,yaws,{{shutdown,{failed_to_start_child,yaws_server,{badarg,[{io,format,[<0.168.0>,"-module(yaws_dynopts).\n\n-include(\"/home ...
Writing of yaws_dynopts.erl fails if the Yaws include path contains a tilde (
~
) character. This happens often on Windows for long paths (e.g.c:/Users/ADMINI~1/repos/yaws
).Reproduce: