Skip to content

Commit

Permalink
Fix bug preventing shell scripts from running (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored May 4, 2023
1 parent 1eaaa17 commit 6947773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions samples/integration/ansible-lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ py
py-devel
schemas
test
test-hook
test-setup
uninstall
update-version
2 changes: 1 addition & 1 deletion src/mk/tools/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ShellTool(Tool):

def run(self, action: Optional[Action] = None) -> None:
if action and action.filename:
run_or_fail(action.filename, tee=True)
run_or_fail(f"./{action.filename}", tee=True)

def is_present(self, path: Path) -> bool:
return True
Expand Down

0 comments on commit 6947773

Please sign in to comment.