1 |
commit: e3e633394defeb88d69b8bca2c608da0c4be838f |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 28 13:21:21 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 13:21:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e3e63339 |
7 |
|
8 |
__dyn_install: fix output by fixing the call to padl |
9 |
|
10 |
In case both build tree and image tree are larger than 1MiB, the output |
11 |
would lack MiB/GiB/etc and be misaligned due to the arguments not being |
12 |
quoted. |
13 |
|
14 |
bin/phase-functions.sh | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh |
18 |
index ce174ba91..7fc798e7f 100644 |
19 |
--- a/bin/phase-functions.sh |
20 |
+++ b/bin/phase-functions.sh |
21 |
@@ -638,7 +638,7 @@ __dyn_install() { |
22 |
s1=$(human ${s1}) |
23 |
if [[ ${s2} -gt 1024 ]] ; then |
24 |
s2=$(human ${s2}) |
25 |
- s1=$(padl ${s1} ${s2}) |
26 |
+ s1=$(padl "${s1}" "${s2}") |
27 |
fi |
28 |
out+=" (${s1})" |
29 |
fi |