-
Notifications
You must be signed in to change notification settings - Fork 391
Description
Allowing variable overrides in batch scripts is hairy because of the need for complicated startlocal enabledelayedexpansion stuff. It makes our scripts fragile and limits the number of people who are willing to work on them. I propose that we cut configure.cmd completely, and run configure.sh on all platforms.
What this requires is the use of msys2 or git for windows. WSL is not useful here, it behaves like a linux system for the sake of our scripts instead of a bash-on-windows thing.
We clearly can't require this on end user systems for our quarto.cmd script. This proposal is only for development. The quarto.cmd script doesn't present the same override headaches anyway, so it's not a big deal there.
I will put up a PR showing that configure.sh can run fine on windows. If that is satisfactory, then maybe we can consider removing configure.cmd.