mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
envkernel.sh: fix shellcheck errors (!1853)
This commit is contained in:
parent
39f6dbef2e
commit
b0ea7ad8a0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue