lib/vx/builder/script/env.rb in vx-builder-0.0.4 vs lib/vx/builder/script/env.rb in vx-builder-0.0.5
- old
+ new
@@ -5,14 +5,14 @@
Env = Struct.new(:app) do
include Helper::TraceShCommand
def call(env)
+ env.init << "set -e"
env.init << 'export LC_ALL=en_US.UTF8'
env.source.global_env.each do |e|
env.init << trace_sh_command("export #{e}")
end
- env.announce << trace_sh_command("env")
app.call(env)
end
end
end