scripts: Fix multiple shellcheck warnings

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8564 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-08-25 22:51:57 +00:00
parent ee24c6bab2
commit c205138e87
8 changed files with 47 additions and 41 deletions
+2 -2
View File
@@ -55,7 +55,7 @@
########################
# shellcheck source=./kernel-functions
source $(dirname $0)/kernel-functions
source "$(dirname "$0")/kernel-functions"
function usage {
echo "Usage: $0 [-c <dir>] [-d <dir>] [-f] [-h] [-j <jobs>] [-p <patchdir>] [-q] <kver1> <kver2> ..."
@@ -697,7 +697,7 @@ do
if [ "${run_smatch}" = "true" ]; then
run_smatch "$k" "${subdirs[@]}"
fi
if [ "${qla2x00t}" = "true" ] && $(kernel_version_le 2.6.37 $k); then
if [ "${qla2x00t}" = "true" ] && kernel_version_le 2.6.37 "$k"; then
subdirs+=(drivers/scsi/qla2xxx)
fi
compile_kernel "$k" "${subdirs[@]}"