resources: search for commands sibling to the running script
commitae27bf1a3ae94f64b86839d7fe4b27d7ce406750
authorDavid Aguilar <davvid@gmail.com>
Thu, 14 Mar 2024 10:15:47 +0000 (14 03:15 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 14 Mar 2024 10:20:44 +0000 (14 03:20 -0700)
tree26cf9a352fba98e62fb784ce3a45f2d8b249a8d8
parent9ae72a871bb06a8c90a7cee6f889cd6861b18470
resources: search for commands sibling to the running script

When Cola is installed directly into C:\Python3.12 on Windows
then the correct path to git-cola-sequence-editor was not being used.

Look in the same director as the current sprint when attempting to
find git-cola-sequence-editor. This makes cola rely less on the
physical structure of the install tree by checking for locations
relative to itself.

Closes: #1385
Reported-by: Stanislaw Halik <sthalik@misaki.pl>
Signed-off-by: David Aguilar <davvid@gmail.com>
CHANGES.rst
cola/resources.py