Skip to content

Commit

Permalink
fix bug in buildtest with shell execution. The 'shell' property may not
Browse files Browse the repository at this point in the history
be defined for batch schedulers so we resort to 'bash'
  • Loading branch information
shahzebsiddiqui committed Nov 21, 2023
1 parent 6806d37 commit 62a52c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildtest/builders/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def shell_detection(self):
self.shell = Shell(
self.recipe.get("shell")
or self.buildexecutor.executors[self.executor]._settings.get("shell")
or 'bash'
)

# set shebang to value defined in Buildspec, if not defined then get one from Shell class
Expand Down

0 comments on commit 62a52c7

Please sign in to comment.