Stoopid script failure

Mikkel mikkel at infinity-ltd.com
Sun Feb 7 21:43:20 UTC 2010


On 02/07/2010 03:02 PM, Patrick O'Callaghan wrote:
> 
> I completely agree, but in this case I wanted a highly special-purpose
> script that would only ever be run in a specific directory, and didn't
> overload any system command.
> 
> I decided just to put it in my ~/bin, where it works fine.
> 
> poc
> 
I put my private commands in ~/bin also. But I make sure that ~/bin
comes at the end of my path. If the command is only supposed to run
in a specific directory, I tend to put a change to that directory in
the script, or a check to make sure I am in the correct directory. I
know I make mistakes, so I try to protect myself.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100207/77575455/attachment.bin 


More information about the users mailing list