Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make subexec work with the very restrictive solaris /bin/sh shell

  • Loading branch information...
commit 3ebd1290f41058056a09f39bf201ac8e57dfecfe 1 parent 241bf40
@ralph authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/subexec.rb
View
2  lib/subexec.rb
@@ -117,7 +117,7 @@ def exec
if !(RUBY_PLATFORM =~ /win32|mswin|mingw/).nil?
self.output = `set LANG=#{lang} && #{command} 2>&1`
else
- self.output = `export LANG=#{lang} && #{command} 2>&1`
+ self.output = `LANG=#{lang} && export $LANG && #{command} 2>&1`
end
self.exitstatus = $?.exitstatus
end
Please sign in to comment.
Something went wrong with that request. Please try again.