Code:
cd /tw
./DDRace_Stable -f CFG_xyz_ddrace3.cfg
those 2 lines run fine if i run them in the terminal 1 by 1
but if i put them in say qwe.sh and of course make the permissions executable
they don't
DDRace_Stable doesn't find CFG_xyz_ddrace3.cfg
i also tried giving the full path for both DDRace_Stable and the CFG
Solution:
Code:
#!/bin/bash
cd /tw
while [ 1 ]
do
./DDRace_Stable -f CFG_xyz_ddrace3.cfg
done
exit 1