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 1RcNf2-0002X7-2P for garchives@archives.gentoo.org; Sun, 18 Dec 2011 20:48:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1D6921C17D; Sun, 18 Dec 2011 20:48:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 931A821C17D for ; Sun, 18 Dec 2011 20:48:36 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E26D81B401F for ; Sun, 18 Dec 2011 20:48:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 585D880042 for ; Sun, 18 Dec 2011 20:48:35 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: <35a87e80937d06eab3b605dc038b48da590fe88e.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/isolated-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: 35a87e80937d06eab3b605dc038b48da590fe88e Date: Sun, 18 Dec 2011 20:48:35 +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: e939312b-3838-4311-ba7b-daa96cced622 X-Archives-Hash: 83b3f5185979cf67615429c23533bd11 commit: 35a87e80937d06eab3b605dc038b48da590fe88e Author: Arfrever Frehtes Taifersar Arahesis Gentoo Org> AuthorDate: Sun Dec 18 20:43:51 2011 +0000 Commit: Arfrever Frehtes Taifersar Arahesis gentoo org> CommitDate: Sun Dec 18 20:43:51 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D35a87e80 set_colors(): Redirect input to `stty size` to make it work after commit a3797a63a30579be3ba5418aad7e76fd520f9aee. --- bin/isolated-functions.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index d2ea319..1bcc5c9 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -415,7 +415,7 @@ set_colors() { # If stdout is a pipe, the parent process can export COLUMNS # if it's relevant. [[ $COLS =3D=3D 0 && $EBUILD_PHASE !=3D depend ]] && \ - COLS=3D$(set -- $(stty size 2>/dev/null) ; echo $2) + COLS=3D$(set -- $(stty size /dev/null) ; echo $2) (( COLS > 0 )) || (( COLS =3D 80 )) =20 # Now, ${ENDCOL} will move us to the end of the