Skip to content

Commit 41dc588

Browse files
author
Vasily Galkin
committed
uninstalled: allow starting with any current directory
This allow running meld not only as bin/meld, but also as ./meld when bin is current directory or as /path/to/checkout/bin/meld with any current directory
1 parent d97a6ae commit 41dc588

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/meld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ if uninstalled:
8585
import importlib.util
8686

8787
loader = importlib.machinery.SourceFileLoader(
88-
'meld.conf', './meld/conf.py.in')
88+
'meld.conf', os.path.join(melddir, 'meld/conf.py.in'))
8989
spec = importlib.util.spec_from_loader(loader.name, loader)
9090
mod = importlib.util.module_from_spec(spec)
9191
loader.exec_module(mod)

0 commit comments

Comments
 (0)