aboutsummaryrefslogtreecommitdiffstats
path: root/spell-check
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-09 17:50:01 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-09 17:50:01 +0200
commit554a870b81c977c21303ef4eae4e5c4bf1b96e89 (patch)
tree70c06ef765de77ee12ae7fab6a6bc02f430f7e90 /spell-check
parent31a81f6bab64b7f3e6e5fbbfff21e44851150293 (diff)
downloadqpdf-554a870b81c977c21303ef4eae4e5c4bf1b96e89.tar.zst
spell-check: quote wildcards
Diffstat (limited to 'spell-check')
-rwxr-xr-xspell-check10
1 files changed, 6 insertions, 4 deletions
diff --git a/spell-check b/spell-check
index 2efec204..27a2bb67 100755
--- a/spell-check
+++ b/spell-check
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
# Use comments starting with cSpell:ignore to ignore certain words for
# the entire file. For source files, you can put these anywhere. For
@@ -9,6 +9,8 @@
# that file sorted.
# cspell can be installed with `npm install -g cspell`.
-cspell **/*.hh include/qpdf/*.h **/*.cc \
- manual/*.rst manual/*.in manual/_ext/*.py \
- **/CMakeLists.txt ChangeLog README* TODO
+
+# cspell does its own expansion of shell wildcards.
+cspell '**/*.hh' 'include/qpdf/*.h' '**/*.cc' \
+ 'manual/*.rst' 'manual/*.in' 'manual/_ext/*.py' \
+ '**/CMakeLists.txt' ChangeLog 'README*' TODO