help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: robust sourcing of library functionality


From: Greg Wooledge
Subject: Re: robust sourcing of library functionality
Date: Fri, 24 Jan 2025 13:51:08 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Jan 24, 2025 at 17:43:44 +0100, Warlich, Christof wrote:
> I could certainy just source the library file through its absolute path,
> but that would break things if the script collection (together with its
> library file(s)) is _moved_ to another location.

Then don't move it.

Also, <https://mywiki.wooledge.org/BashFAQ/028>.

But seriously, figure out where you want it to be, then put it there,
and don't move it.  Then this entire problem goes away.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]