$PWD returns an empty string when called from STMCubeIDE 1.14.0
Hello.
I found one more problem with the latest version of STM32CubeIDE 1.14.0
I am using STM32CubeIDE under Windows 7
I have the latest "git for Windows" installed, which provides me with a bash console. The directory with the bash command is added to the system path.
Before compilation, I run a bash script that obtains data from GIT and places it in the header file.
The script is run with the "bash prebuild.sh" command entered in Pre-build steps in the project properties.
The script works correctly if run directly from the bash console or the previous version of STMCubeIDE 1.13.2
If it is called from the latest version of STMCubeIDE 1.14.0, the $PWD variable or the pwd command in the script return an empty string instead of the current path.
What could be the problem with this behavior?
