diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-08-28 15:21:21 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-08-28 15:21:21 +0200 |
commit | e3e633394defeb88d69b8bca2c608da0c4be838f (patch) | |
tree | 7fec4ac3db7da4c700365468a93b72be9536986c | |
parent | __dyn_install: improve reporting of build and image sizes (diff) | |
download | portage-e3e63339.tar.gz portage-e3e63339.tar.bz2 portage-e3e63339.zip |
__dyn_install: fix output by fixing the call to padl
In case both build tree and image tree are larger than 1MiB, the output
would lack MiB/GiB/etc and be misaligned due to the arguments not being
quoted.
-rw-r--r-- | bin/phase-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index ce174ba91..7fc798e7f 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -638,7 +638,7 @@ __dyn_install() { s1=$(human ${s1}) if [[ ${s2} -gt 1024 ]] ; then s2=$(human ${s2}) - s1=$(padl ${s1} ${s2}) + s1=$(padl "${s1}" "${s2}") fi out+=" (${s1})" fi |