A small bug in context/tex/setuptex
![](https://secure.gravatar.com/avatar/29a2e5e10c807553ec931e2e284868f6.jpg?s=120&d=mm&r=g)
OWNPATH does not work properly because $0 does not do what you think when a file is sourced. See: http://www.cygwin.com/ml/cygwin/1999-02/msg00687.html
![](https://secure.gravatar.com/avatar/29a2e5e10c807553ec931e2e284868f6.jpg?s=120&d=mm&r=g)
You need to use $BASH_SOURCE instead.
On Wed, Aug 27, 2008 at 12:27 AM, Vasile Gaburici
OWNPATH does not work properly because $0 does not do what you think when a file is sourced. See: http://www.cygwin.com/ml/cygwin/1999-02/msg00687.html
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Tue, Aug 26, 2008 at 11:31 PM, Vasile Gaburici
You need to use $BASH_SOURCE instead.
I have always been using source /path/to/tex/setuptex /path/to/tex Thanks a lot for the pointer to solution. Arthur has just fixed it. Please try if it works better now. Mojca
On Wed, Aug 27, 2008 at 12:27 AM, Vasile Gaburici
wrote: OWNPATH does not work properly because $0 does not do what you think when a file is sourced. See: http://www.cygwin.com/ml/cygwin/1999-02/msg00687.html
participants (2)
-
Mojca Miklavec
-
Vasile Gaburici