commit:     00f69aed235e207c15a8fa906b33674fd90bee88
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 12 21:43:34 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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

Reply via email to