Hi,
I'd like to override the Capistrano.Shell.run method. The reason is
that when I do an update, the shell displays the username and
password. I'd like to test the command data by doing something like:
def run cmd
self.run cmd do |channel,stream,data|
if cmd =~ /\-\-password=/
# do nothing...
end
end
end
I tried that and got:
./config/deploy.rb:41:in `run': stack level too deep
(SystemStackError)
Any ideas?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---