From 028915447e6bbe25a3ac55b38a2811231374bab1 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 30 Nov 2022 13:06:47 +0100 Subject: Just-mr: Fix handling and meaning of --just option The value of --just option should be used as-is, as it might be a var in PATH. The `execvp` call will handle this. The Python script and man page have been updated accrodingly. --- bin/just-mr.py | 2 +- share/man/just-mr.1.org | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/just-mr.py b/bin/just-mr.py index 3bc67b2a..e4671d2c 100755 --- a/bin/just-mr.py +++ b/bin/just-mr.py @@ -1043,7 +1043,7 @@ def main(): global JUST if options.just: - JUST = os.path.abspath(options.just) + JUST = options.just global ALWAYS_FILE ALWAYS_FILE = options.always_file diff --git a/share/man/just-mr.1.org b/share/man/just-mr.1.org index a3a9b57c..9e8e6bbe 100644 --- a/share/man/just-mr.1.org +++ b/share/man/just-mr.1.org @@ -69,7 +69,8 @@ See *just-mr-repository-config(5)* for more details on the input format. The repository to take the target from.\\ *--just* PATH\\ - Path to the just binary. Default: ~"just"~.\\ + Name of the just binary in ~PATH~ or path to the just binary.\\ + Default: ~"just"~.\\ *--rc* PATH\\ Path to the just-mrrc file to use. See *just-mrrc(5)* for more details.\\ -- cgit v1.2.3