Shell script does not follow links
jrhorn424 opened this issue · 1 comments
jrhorn424 commented
If I hard link the wrapper script get-shit-done
to my path and reload, calling the script yields the following:
jeffreyhorn@hook:~/src/get-shit-done 2011-05-17 08:35:22 git:master
>> get-shit-done work
/Users/jeffreyhorn/bin/get-shit-done: line 14: /Users/jeffreyhorn/bin/get-shit-done.php: No such file or directory
Symllinking instead of hard linking fails to make bash aware of the script.
retr0h commented
Seems like an invalid issue.
Why not just update your PATH?
% PATH=/Users/jdewey/git/get-shit-done:$PATH
% sudo get-shit-done work
Password:
% wc -l /etc/hosts
74 /etc/hosts
% sudo get-shit-done play
% wc -l /etc/hosts
12 /etc/hosts