diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-15 17:41:22 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-15 17:41:22 +0000 |
commit | cb77ffe8f3b61e5dd488d918b067efd28c07948e (patch) | |
tree | 487002380e31311809c161f4e5b09638f2f46ccf /subplot/jt.py | |
parent | 794ea63e46212941e73ca3933d30431d43d469b3 (diff) | |
parent | 8165ec7c6b418e32ff8518ebd04d0344f2ab6c15 (diff) | |
download | jt2-cb77ffe8f3b61e5dd488d918b067efd28c07948e.tar.gz |
Merge branch 'fix-topic' into 'main'
fix topic names containing dots
See merge request larswirzenius/jt!24
Diffstat (limited to 'subplot/jt.py')
-rw-r--r-- | subplot/jt.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subplot/jt.py b/subplot/jt.py index dfdf44c..416e830 100644 --- a/subplot/jt.py +++ b/subplot/jt.py @@ -8,7 +8,8 @@ def install_jt(ctx): runcmd_exit_code_is_zero = globals()["runcmd_exit_code_is_zero"] srcdir = globals()["srcdir"] - bindir = os.path.join(srcdir, "target", "debug") + target = os.environ.get("CARGO_TARGET_DIR", os.path.join(srcdir, "target")) + bindir = os.path.join(target, "debug") runcmd_prepend_to_path(ctx, bindir) # Configure git. |