On Wed, Nov 04, 2020 at 05:23:56PM +0100, Gerhard Sittig wrote:
> On Wed, 2020-11-04 at 16:33 +0100, sig...@rkta.de wrote:
> >
> > Due to the hard-coded relative paths, the script failed when not called
> > from the correct directory. This patch fixes this by converting the path
> > to an absolute one.
> 
> Could it be simpler to 'cd $( dirname $0 )' instead at the top of
> the file?
A quick test shows that this works. And you are right, it is the better
solution.

> virtually yours
> Gerhard Sittig
Rene Kita


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to