lib/mina/commands.rb in mina-1.0.3 vs lib/mina/commands.rb in mina-1.0.4
- old
+ new
@@ -31,10 +31,10 @@
end
def process(path = nil)
if path
queue[stage].unshift(%{echo "$ cd #{path}"}) if fetch(:verbose)
- %{(cd #{path} && #{queue[stage].join(' && ')})}
+ %{(cd #{path} && #{queue[stage].join(' && ')} && cd -)}
else
queue[stage].join("\n")
end
end