![](https://secure.gravatar.com/avatar/29a2e5e10c807553ec931e2e284868f6.jpg?s=120&d=mm&r=g)
26 Aug
2008
26 Aug
'08
3:31 p.m.
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