I am trying to run a test.sh script file. I am using WSL2.
I am currently inside mnt/d/solid/test
folder after running the command bash tests.sh
it gives error
/mnt/d/solid/scripts/common.sh: line 21: $'\r': command not found
.
Why this is executing inside scripts
folder instead test
folder.
I also tried this https://askubuntu.com/questions/966488/how-do-i-fix-r-command...
https://stackoverflow.com/questions/11616835/r-command-not....
But still getting same error