commit: fd92f3d7ee4577e63a069beb1da2df4727e4a422
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Jul 6 17:14:06 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 13 04:19:03 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=fd92f3d7
emerge-webrsync: drop a superfluous comment from fetch_file()
A considerable number of variables are defined by evaluating the output
of portageq envvar -v. As regards the fetch_file() function, there is no
particular need to observe that 'DISTDIR' is among them, nor exclusively
do so for one particular command within said function.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/emerge-webrsync | 1 -
1 file changed, 1 deletion(-)
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index 69f18302b8..8807c8e737 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -192,7 +192,6 @@ fetch_file() {
rm -f -- "${DISTDIR}/${FILE}"
fi
- # Already set DISTDIR=
if ! eval "${fetchcommand}" || [[ ! -s ${DISTDIR}/${FILE} ]]; then
rm -f -- "${DISTDIR}/${FILE}"
return 1