Hi Collin,

> I can create
> testdirs on Cygwin and MSYS2. Perhaps it is best to clarify
> gnulib-tool.py is only supported there on Windows?

Yes, feel free to add a bit of text about it to the DEPENDENCIES file.
Other environments than Cygwin and MSYS2 don't need to be considered,
since the user will also need sh, autoconf, automake, perl, gcc, and so on.

> In this case shebang lines cause the issue. But there is also other
> considerations. Windows shells use a different way of quoting, not
> sure about encoding. Also gnulib-tool.py executes sed, find, patch, so
> I'm not too sure how that works in Windows shells.

You can assume that 'sh' (sh.exe) will be found in PATH. You don't
need to think about cmd.exe or PowerShell — this would be a waste of time.
Just rely on 'sh'.

Bruno




Reply via email to