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,