From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 33D931384B4 for ; Thu, 12 Nov 2015 21:43:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2F9C21C053; Thu, 12 Nov 2015 21:43:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79D2B21C053 for ; Thu, 12 Nov 2015 21:43:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D7633406F2 for ; Thu, 12 Nov 2015 21:43:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD6571473 for ; Thu, 12 Nov 2015 21:43:50 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1447364614.00f69aed235e207c15a8fa906b33674fd90bee88.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/phase-helpers.sh X-VCS-Directories: bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 00f69aed235e207c15a8fa906b33674fd90bee88 X-VCS-Branch: master Date: Thu, 12 Nov 2015 21:43:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9c67b0d7-b0cc-4202-95ff-0bd702205786 X-Archives-Hash: 241b78905cfe7eb40956a97c53318605 commit: 00f69aed235e207c15a8fa906b33674fd90bee88 Author: Michał Górny gentoo org> AuthorDate: Thu Nov 12 21:43:34 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Nov 12 21:43:34 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=00f69aed bin/phase-helpers: Fix accidental syntax error bin/phase-helpers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index 546973e..b79884f 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -1026,11 +1026,11 @@ if ___eapi_has_eapply; then done # ensure that no options were interspersed with files - for i in "${files[@]}"; then + for i in "${files[@]}"; do if [[ ${i} == -* ]]; then die "eapply: all options must be passed before non-options" fi - fi + done fi if [[ -z ${files[@]} ]]; then