Having a little issue someone might be able to help me out with. I've created a number of Bash scripts for automating some of my common day to day tasks on my Snow Lepoard Machines. All of these scripts live in a DropBox folder that is shared across my machines.
The path is the same on all machines: e.g.
/User/myuser/Drobox/Bash\ and\ Batch/
I've added the folder to my /etc/paths
/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/myuser/Dropbox/Bash\ and\ Batch:/usr/local/git/bin:/usr/X11/bin
My issue is not being able to run the scripts from outside their directory. All scripts have necessary permissions e.g.: 755
Scripts can be run when in the directory:
mymachine:~ myuser$ cd Dropbox/Bash\ and\ Batch mymachine:Bash and Batch myuser$ ./uni-update.sh Update University Repository At revision 246.
But not from outside of the directory:
mymachine:~ myuser$ ./uni-update.sh -bash: uni-update.sh: command not found
What am I missing here?
Thanks in advance.