From 2cf0cabaae4efcca6cc6a85bba1f6a7ac6360afe Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Mon, 12 Jan 2026 13:36:54 -0800 Subject: [PATCH] shellcheck: Make pipeline dir relative to file Signed-off-by: Jon Johnson --- pre_commit_hooks/shellcheck_run_steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit_hooks/shellcheck_run_steps.py b/pre_commit_hooks/shellcheck_run_steps.py index d4c3226..0affc3b 100644 --- a/pre_commit_hooks/shellcheck_run_steps.py +++ b/pre_commit_hooks/shellcheck_run_steps.py @@ -122,7 +122,7 @@ def main(argv: Sequence[str] | None = None) -> int: MelangeImage, "compile", f"--arch={arch}", - "--pipeline-dir=./pipelines", + f"--pipeline-dir=./{os.path.dirname(filename)}/pipelines", filename, ], stdout=compiled_out,