From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SOvgN-00058w-MD for garchives@archives.gentoo.org; Mon, 30 Apr 2012 18:50:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92212E0C22; Mon, 30 Apr 2012 18:50:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 671D4E0C22 for ; Mon, 30 Apr 2012 18:50:10 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C92611B4078 for ; Mon, 30 Apr 2012 18:50:09 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 948) id 879822004C; Mon, 30 Apr 2012 18:50:08 +0000 (UTC) From: "Diego Petteno (flameeyes)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, flameeyes@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/subexec/files: subexec-0.2.2-lang.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: subexec-0.2.2-lang.patch X-VCS-Directories: dev-ruby/subexec/files X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Petteno Content-Type: text/plain; charset=utf8 Message-Id: <20120430185008.879822004C@flycatcher.gentoo.org> Date: Mon, 30 Apr 2012 18:50:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 82c7ff36-cb27-45ee-b45e-881e70c8b737 X-Archives-Hash: 0dbe6071f77c1665b22629aad5f63fd0 flameeyes 12/04/30 18:50:08 Added: subexec-0.2.2-lang.patch Log: Version bump; requires a patch to work properly still. =20 (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/f= iles/subexec-0.2.2-lang.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/subexec/f= iles/subexec-0.2.2-lang.patch?rev=3D1.1&content-type=3Dtext/plain Index: subexec-0.2.2-lang.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >From 2756e8c6815db57ae25d82f9e11ed3a03d23e0cc Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Diego=3D20Elio=3D20Petten=3DC3=3DB2?=3D 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=3DUTF-8 Content-Transfer-Encoding: 8bit When exporting a variable you should use the name, not the content. Signed-off-by: Diego Elio Petten=C3=B2 --- 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 =3D~ /win32|mswin|mingw/).nil? self.output =3D `set LANG=3D#{lang} && #{command} 2>&1` else - self.output =3D `LANG=3D#{lang} && export $LANG && #{command} 2>= &1` + self.output =3D `LANG=3D#{lang} && export LANG && #{command} 2>&= 1` end self.exitstatus =3D $?.exitstatus end --=20 1.7.8.6