lib/vx/builder/script/env.rb in vx-builder-0.0.19 vs lib/vx/builder/script/env.rb in vx-builder-0.0.20
- old
+ new
@@ -8,10 +8,10 @@
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 << "source /etc/profile.d/*.sh"
+ 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