nesting "source" scripts

DJ Delorie dj@envy.delorie.com
Sun Feb 28 23:02:00 GMT 1999


Sorry, my linux bash does exactly the same thing you describe.  If you
must call scripts based on $0, you can't use "source" to do it.
Perhapst the "eval" builtin might help work around this?

> This looks like it is simply a bash bug rather than anything specific
> to cygwin but snce I encountered this using cygwin I will try to find
> the answer here first.
> 
> It looks like the full path name of bash scripts is not available when
> they are invoked with "source".  This makes it impossible to call
> other scripts in the same directory, no?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com




More information about the Cygwin mailing list