public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/subexec/files: subexec-0.2.2-lang.patch
@ 2012-04-30 18:50 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2012-04-30 18:50 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/04/30 18:50:08

  Added:                subexec-0.2.2-lang.patch
  Log:
  Version bump; requires a patch to work properly still.
  
  (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/subexec/files/subexec-0.2.2-lang.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/subexec/files/subexec-0.2.2-lang.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/subexec/files/subexec-0.2.2-lang.patch?rev=1.1&content-type=text/plain

Index: subexec-0.2.2-lang.patch
===================================================================
From 2756e8c6815db57ae25d82f9e11ed3a03d23e0cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
Date: Mon, 30 Apr 2012 11:37:06 -0700
Subject: [PATCH 1/2] Fix exporting of LANG setting for Unix platforms.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

When exporting a variable you should use the name, not the content.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
---
 lib/subexec.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/subexec.rb b/lib/subexec.rb
index 2bbbf69..28c5092 100644
--- a/lib/subexec.rb
+++ b/lib/subexec.rb
@@ -117,7 +117,7 @@ class Subexec
       if !(RUBY_PLATFORM =~ /win32|mswin|mingw/).nil?
         self.output = `set LANG=#{lang} && #{command} 2>&1`
       else
-        self.output = `LANG=#{lang} && export $LANG && #{command} 2>&1`
+        self.output = `LANG=#{lang} && export LANG && #{command} 2>&1`
       end
       self.exitstatus = $?.exitstatus
     end
-- 
1.7.8.6







^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-ruby/subexec/files: subexec-0.2.2-lang.patch
@ 2013-09-10 16:23 Manuel Rueger (mrueg)
  0 siblings, 0 replies; 2+ messages in thread
From: Manuel Rueger (mrueg) @ 2013-09-10 16:23 UTC (permalink / raw
  To: gentoo-commits

mrueg       13/09/10 16:23:17

  Removed:              subexec-0.2.2-lang.patch
  Log:
  Cleanup old.
  
  (Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key )


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-10 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 16:23 [gentoo-commits] gentoo-x86 commit in dev-ruby/subexec/files: subexec-0.2.2-lang.patch Manuel Rueger (mrueg)
  -- strict thread matches above, loose matches on Subject: below --
2012-04-30 18:50 Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox