[mojosetup] Uninstall support!

Gerry JJ trick at icculus.org
Fri Jan 25 13:50:54 EST 2008


Den Thu, 24 Jan 2008 20:58:42 -0500
skrev "Ryan C. Gordon" <icculus at icculus.org>:
> The "exec" replaces the /bin/sh process with the "mojosetup" one...if 
> you hit the "exit" line at all, it means the program failed to run.

Oh, hah, right..  Jeez, I completely forgot about that =/

I stand by my comment to replace $* with "$@" though =)

> Eh, I don't know...seems like bad practice to rely on the value of 
> argv[0] for commands. I know some Unix things do this, but I'm not
> sure I'm comfortable with it. Let me think about it.

Yeah, I'm not so sure I like it myself, actually.  It seemed like a
good idea at the time, just to get rid of the shell script issues, but
now that I've thought about it for a bit, I'm not so sure.  Oh well.

- Gerry



More information about the mojosetup mailing list