lib/rvm/capistrano/selector_mixed.rb in rvm-capistrano-1.4.2 vs lib/rvm/capistrano/selector_mixed.rb in rvm-capistrano-1.4.3
- old
+ new
@@ -27,15 +27,7 @@
end
session.else command_with_shell(cmd, shell), &block
end
end
- def command_with_shell(cmd, shell=nil)
- if shell == false
- cmd
- else
- "#{shell || "sh"} -c #{quote_and_escape(cmd)}"
- end
- end
-
end
end