[OE-core] [PATCH] sstate.bbclass: use tabs for indentation
Jacob Kroon
jacob.kroon at gmail.com
Mon Dec 16 10:41:53 UTC 2019
On 12/16/19 10:56 AM, Martin Jansa wrote:
> * it's terrible, but this is what oe-core wants and it's better than mixing tabs and spaces in the same function
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> meta/classes/sstate.bbclass | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
> index 14de791c81..18e3492674 100644
> --- a/meta/classes/sstate.bbclass
> +++ b/meta/classes/sstate.bbclass
> @@ -753,13 +753,13 @@ sstate_create_package () {
> return
> fi
>
> - mkdir -p `dirname ${SSTATE_PKG}`
> + mkdir -p `dirname ${SSTATE_PKG}`
> TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX`
>
> - # Use pigz if available
> - OPT="-czS"
> - if [ -x "$(command -v pigz)" ]; then
> - OPT="-I pigz -cS"
> + # Use pigz if available
> + OPT="-czS"
> + if [ -x "$(command -v pigz)" ]; then
> + OPT="-I pigz -cS"
> fi
>
Nice cleanup. Doesn't this final 'fi' still look funky though ?
> # Need to handle empty directories
>
More information about the Openembedded-core
mailing list