Skip to content

Commit

Permalink
Merge pull request #192 from hico-horiuchi/fix-shell-on-build_command
Browse files Browse the repository at this point in the history
Fix shell method on backend (close #158)
  • Loading branch information
ryotarai committed Jan 24, 2016
2 parents 56fd435 + 6e1b8ad commit 446f9e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/itamae/backend.rb
Expand Up @@ -36,7 +36,7 @@ def create(type, opts = {})

class Base
attr_reader :executed_commands

def initialize(options)
@options = options
@backend = create_specinfra_backend
Expand Down Expand Up @@ -189,7 +189,7 @@ def build_command(commands, options)
end

def shell
@options[:shell]
@options[:shell] || '/bin/sh'
end

def run_command_with_profiling(command)
Expand Down

0 comments on commit 446f9e2

Please sign in to comment.