commit: 0d431323941f052184f809242d5938423bd85a26
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Tue May 27 05:56:10 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 30 08:14:23 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0d431323
phase-helpers.sh: hoist a comment upwards in unpack()
Said comment is thus given a little more beathing room, though I have
not yet sought to re-wrap it.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/phase-helpers.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index 98ce759491..1150fe0bab 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -449,10 +449,10 @@ unpack() {
# installed.
if [[ $(ar --version 2>/dev/null) != "GNU ar"*
]] && \
type -P deb2targz > /dev/null; then
+ # deb2targz always extracts into the
same directory as
+ # the source file, so create a symlink
in the current
+ # working directory if necessary.
if [[ ! "${srcdir}${f}" -ef
"${basename}" ]]; then
- # deb2targz always extracts
into the same directory as
- # the source file, so create a
symlink in the current
- # working directory if
necessary.
created_symlink=1
ln -sf "${srcdir}${f}"
"${basename}"
fi \