Skip to content

Commit

Permalink
Merge pull request #378 from dreyks/patch-1
Browse files Browse the repository at this point in the history
do not prefix exec
  • Loading branch information
leehambley authored Nov 25, 2016
2 parents a9f47f1 + a17fd02 commit 20df6cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ appear at the top.

* Add your entries below here, remember to credit yourself however you want
to be credited!
* Do not prefix `exec` command
[PR #378](https://github.com/capistrano/sshkit/pull/378) @dreyks

## [1.11.4][] (2016-11-02)

Expand Down
2 changes: 1 addition & 1 deletion lib/sshkit/command_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def clear

def defaults
Hash.new do |hash, command|
if %w{if test time}.include? command.to_s
if %w{if test time exec}.include? command.to_s
hash[command] = command.to_s
else
hash[command] = "/usr/bin/env #{command}"
Expand Down

0 comments on commit 20df6cc

Please sign in to comment.