mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-20 15:04:19 +00:00
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:
@@ -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[@]}"
|
||||
|
||||
Reference in New Issue
Block a user