commit:     f3c551f237c822e4072fd56816577a3bdba6fa41
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jul 13 09:43:08 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 22:25:39 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=f3c551f2

phase-helpers.sh: decare local variables on single line in unpack()

So as to accord with the latterly prevailing coding style.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/phase-helpers.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index 0759affb0b..609d763915 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -322,14 +322,8 @@ use_enable() {
 }
 
 unpack() {
-       local created_symlink
-       local suffix_known
+       local created_symlink suffix_known basename srcdir suffix f -
        local -a bzip2_cmd
-       local basename
-       local srcdir
-       local suffix
-       local f
-       local -
 
        if (( $# == 0 )); then
                die "unpack: too few arguments (got 0; expected at least 1)"

Reply via email to