Hi All,

I have one question on Capistrano.

While writing shell in cap’s run”” , I have to write like

run "if [ -f #{appserver_omc_home}/#{install_system_script} ]; then
echo “ssss”; sudo rm -f #{appserver_omc_home}/
#{install_system_script}; fi"

or

run <<-CMD
 export JAVA_HOME=#{java_home} &&
 export PATH=$PATH:#{m2_home}/bin
end


Is there any other better way where things are more readable.


Thanks
Pawan

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to