diff --git a/coccinelle/run-coccinelle.sh b/coccinelle/run-coccinelle.sh index 19ae59e4e5..ecefbf5302 100755 --- a/coccinelle/run-coccinelle.sh +++ b/coccinelle/run-coccinelle.sh @@ -33,6 +33,11 @@ case "$1" in ;; esac +if ! command -v spatch >/dev/null; then + echo 'Please install spatch (package "coccinelle")' + exit 1 +fi + if ! parallel -h >/dev/null; then echo 'Please install GNU parallel (package "parallel")' exit 1