envkernel.sh: fix shellcheck errors (!1853)

This commit is contained in:
Daniele Debernardi 2020-01-04 02:15:33 +01:00
parent 39f6dbef2e
commit b0ea7ad8a0
No known key found for this signature in database
GPG Key ID: 5782FCF5DAE9AF60
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ clean_kernel_src_dir() {
# shellcheck disable=SC1001
\make mrproper
if [ ! -z "$tmp_dir" ]; then
if [ -n "$tmp_dir" ]; then
sudo mv "$tmp_dir/.output" ".output"
sudo rmdir "$tmp_dir"
fi;
@ -168,7 +168,7 @@ set_alias_make() {
# shellcheck disable=SC2039
arch_substr="${host_arch:0:3}"
if [ "$arch" = "$host_arch" ] || \
([ "$arch_substr" = "arm" ] && [ "$arch_substr" = "$arch" ]); then
{ [ "$arch_substr" = "arm" ] && [ "$arch_substr" = "$arch" ]; }; then
is_cc=0
fi