I'm trying to test my created script to learn more about scripting and encountered the error "No such file or directory" despite that my .sh script is on the same folder of my .sql file. By the way, I'm using gitbash to run my .sh script.
This is just my script:
SQL_FILE = ./test.sql
echo "test test test"
echo "SELECT * FROM testDb;" > "${SQL_File}"
echo SQL_FILE