Heres the code that return me a bad interpreter when running from terminal in Linux:
#!/bin/bash
for dir in test/*/
do
./install_module.php $dir
done
sass test/Style/test.scss:themes/ModernAqua/css/test.css --style compressed
echo "Sass styles regenerated"