[sigrok-devel] [PATCH] sigrok-cross-mingw: Use paths relative to script location

2020-11-04 Thread sigrok
From: Rene Kita 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. --- The problem is probably also present in sigrok-cross-android, but the script failed to run here and I don't have

Re: [sigrok-devel] [PATCH] sigrok-cross-mingw: Use paths relative to script location

2020-11-04 Thread Gerhard Sittig
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 th