From: "Diego Petteno (flameeyes)" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/subexec/files: subexec-0.2.2-lang.patch
Date: Mon, 30 Apr 2012 18:50:08 +0000 (UTC) [thread overview]
Message-ID: <20120430185008.879822004C@flycatcher.gentoo.org> (raw)
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
next reply other threads:[~2012-04-30 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-30 18:50 Diego Petteno (flameeyes) [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-09-10 16:23 [gentoo-commits] gentoo-x86 commit in dev-ruby/subexec/files: subexec-0.2.2-lang.patch Manuel Rueger (mrueg)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120430185008.879822004C@flycatcher.gentoo.org \
--to=flameeyes@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox