On Wed, Nov 21, 2012 at 6:35 PM, Alan BRASLAU wrote: > > 3 Sourcing the script (not calling it as an executable) as > "source script" or ". script" will return as $0 "/bin/bash" or > "/usr/local/bin/bash" or "/bin/sh" or whatever shell is in use. > This is your problem, I believe.
True. But Peter's idea is also not that bad. The drawback is that the distribution cannot be moved to a different directory then, but one could also have combination of both approaches somehow. Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________