Sha256: 5dd022373a583973b112e0641b6294a3d4c68a3fd99a9e09442950394780f671
Contents?: true
Size: 587 Bytes
Versions: 5
Compression:
Stored size: 587 Bytes
Contents
module Vx module Builder class Script Env = Struct.new(:app) do include Helper::TraceShCommand def call(env) env.init << "set -e" env.init << "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" env.init << 'export LC_ALL=en_US.UTF8' env.init << "for i in $(ls /etc/profile.d) ; do source /etc/profile.d/$i ; done" env.source.global_env.each do |e| env.init << trace_sh_command("export #{e}") end app.call(env) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems