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 1NLptk-0000de-Im for garchives@archives.gentoo.org; Sat, 19 Dec 2009 03:22:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 243DAE0784; Sat, 19 Dec 2009 03:22:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E9FE6E0784 for ; Sat, 19 Dec 2009 03:22:22 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 85B3567F36 for ; Sat, 19 Dec 2009 03:22:22 +0000 (UTC) Received: from zmedico by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NLptd-0002vK-Ni for gentoo-commits@lists.gentoo.org; Sat, 19 Dec 2009 03:22:21 +0000 To: gentoo-commits@lists.gentoo.org From: "Zac Medico (zmedico)" Subject: [gentoo-commits] portage r15119 - main/trunk/bin X-VCS-Repository: portage X-VCS-Revision: 15119 X-VCS-Files: main/trunk/bin/isolated-functions.sh X-VCS-Directories: main/trunk/bin X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico Content-Type: text/plain; charset=UTF-8 Message-Id: Sender: Zac Medico Date: Sat, 19 Dec 2009 03:22:21 +0000 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: 835f9c31-fc02-4142-9f3f-eb2048dee31f X-Archives-Hash: 99c529334f8c98b62932a38dfe4aaef3 Author: zmedico Date: 2009-12-19 03:22:20 +0000 (Sat, 19 Dec 2009) New Revision: 15119 Modified: main/trunk/bin/isolated-functions.sh Log: Fix the assert alias to 'value to great for base' messages in some cases. Thanks to Jonathan Callen for reporting. Modified: main/trunk/bin/isolated-functions.sh =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 --- main/trunk/bin/isolated-functions.sh 2009-12-18 08:32:44 UTC (rev 151= 18) +++ main/trunk/bin/isolated-functions.sh 2009-12-19 03:22:20 UTC (rev 151= 19) @@ -5,7 +5,7 @@ # We need this next line for "die" and "assert". It expands # It _must_ preceed all the calls to die and assert. shopt -s expand_aliases -alias assert=3D'_pipestatus=3D"${PIPESTATUS[*]}"; [[ "${_pipestatus// /}= " -eq 0 ]] || die' +alias assert=3D'for _pipestatus in ${PIPESTATUS[*]} ; do [ $_pipestatus = -eq 0 ] || die ; done' alias save_IFS=3D'[ "${IFS:-unset}" !=3D "unset" ] && old_IFS=3D"${IFS}"= ' alias restore_IFS=3D'if [ "${old_IFS:-unset}" !=3D "unset" ]; then IFS=3D= "${old_IFS}"; unset old_IFS; else unset IFS; fi' =20