projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
thp: add thp_get_unmapped_area_vmflags()
[linux-2.6-block.git]
/
scripts
/
coccicheck
diff --git
a/scripts/coccicheck
b/scripts/coccicheck
index 2956fce8fa4fc82fd941e7785e742d526ad142c2..e52cb43fede60fe1be7eea170b63a6c0d54b6e0b 100755
(executable)
--- a/
scripts/coccicheck
+++ b/
scripts/coccicheck
@@
-1,4
+1,4
@@
-#!/
bin/
bash
+#!/
usr/bin/env
bash
# SPDX-License-Identifier: GPL-2.0
# Linux kernel coccicheck
#
# SPDX-License-Identifier: GPL-2.0
# Linux kernel coccicheck
#
@@
-18,7
+18,7
@@
fi
SPATCH_VERSION=$($SPATCH --version | head -1 | awk '{print $3}')
USE_JOBS="no"
SPATCH_VERSION=$($SPATCH --version | head -1 | awk '{print $3}')
USE_JOBS="no"
-$SPATCH --help | grep
"\-\
-jobs" > /dev/null && USE_JOBS="yes"
+$SPATCH --help | grep
-e "-
-jobs" > /dev/null && USE_JOBS="yes"
# The verbosity may be set by the environmental parameter V=
# as for example with 'make V=1 coccicheck'
# The verbosity may be set by the environmental parameter V=
# as for example with 'make V=1 coccicheck'