Skip to content

Commit

Permalink
Merge pull request #503 from welaika/escape_remote_hooks_command
Browse files Browse the repository at this point in the history
(Un)Escape remote hooks command
  • Loading branch information
alessandro-fazzi authored Jan 4, 2019
2 parents b4e6790 + de8eed2 commit 411213e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/wordmove/hook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def self.run(commands, options, simulate = false)
return true if simulate

stdout, stderr, exit_code =
copier.exec!("bash -l -c 'cd #{wordpress_path} && #{command}'")
copier.exec!("cd #{wordpress_path} && #{command}")

if exit_code.zero?
logger.task_step false, "Output: #{stdout}"
Expand Down
2 changes: 1 addition & 1 deletion lib/wordmove/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Wordmove
VERSION = "3.2.2".freeze
VERSION = "3.2.3pre2".freeze
end

0 comments on commit 411213e

Please sign in to comment.