conda-forge / autotools_clang_conda-feedstock

A conda-smithy repository for autotools_clang_conda.
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

run_autotools_clang_conda_build.bat changes enviroment variables (RECIPE_DIR, SRC_DIR) to be Unix style #13

Open traversaro opened 3 years ago

traversaro commented 3 years ago

While preparing a PR for gsl-feedstock (https://github.com/conda-forge/gsl-feedstock/pull/53), I noticed that the run_autotools_clang_conda_build.bat script provided by this repo is changing the variables such as %SRC_DIR% or %RECIPE_DIR% from being Windows-stlye paths (i.e. C:\d\a\) to be Unix-style paths (i.e. /c/d/a/). While this may have sense when running the bash scripts, to avoid confusion it could make sense to restore the original value of the env variables before the script returns. I wanted to open a PR to fix this in this repo, but I am bit confused as the PATH that contain %PREFIX% does not seem to be affected by this, so I guess there is something that I am missing at the moment.

I did not reported any conda environement info as the issue is appearing on Azure builds.