commit: ad4e5ea3fad2986de6075146e4716aefde8e29de
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 20 07:18:30 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 07:19:02 2015 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=ad4e5ea3
EAPI 6: Use \RETURN in eapply algorithm where appropriate.
pkg-mgr-commands.tex | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index ec02e57..51f6ebf 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -178,7 +178,6 @@ Ebuilds must not run any of these commands once the current
phase function has r
\IF{the \t{files} array is empty}
\STATE abort the build process with an error
\ENDIF
-
\FORALL{\t{x} in the \t{files} array}
\IF{\t{\$x} is a directory}
\IF{\NOT any files match \t{\$x/*.diff} or \t{\$x/*.patch}}
@@ -187,16 +186,17 @@ Ebuilds must not run any of these commands once the
current phase function has r
\FORALL{files \t{f} matching \t{\$x/*.diff} or \t{\$x/*.patch}, sorted
in POSIX locale}
\STATE call \t{patch -p1 -f -g0 -{}-no-backup-if-mismatch
"\$\{options[@]\}" < "\$f"}
\IF{child process returned with non-zero exit status}
- \STATE return immediately with that error status
+ \RETURN immediately with that status
\ENDIF
\ENDFOR
\ELSE
\STATE call \t{patch -p1 -f -g0 -{}-no-backup-if-mismatch
"\$\{options[@]\}" < "\$x"}
\IF{child process returned with non-zero exit status}
- \STATE return immediately with that error status
+ \RETURN immediately with that status
\ENDIF
\ENDIF
\ENDFOR
+\RETURN shell true (0)
\end{algorithmic}
\end{algorithm}