Method: Vos::Helpers::Ubuntu#wrap_cmd

Defined in:
lib/vos/helpers/ubuntu.rb

#wrap_cmd(env_str, cmd) ⇒ Object



7
8
9
# File 'lib/vos/helpers/ubuntu.rb', line 7

def wrap_cmd env_str, cmd
  %(source #{env_file.path} && #{env_str}#{' && ' unless env_str.empty?}#{cmd})
end