Terminal commands working in terminal but not in a script
Code:
cd /tw 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 |
Perhaps you're interested in an other way of solving the problem. It is about the quotes missing in the script. Adding two double-quotes will also make your script working:
Code:
cd /tw |
All times are GMT -5. The time now is 10:46 AM. |