From 554a870b81c977c21303ef4eae4e5c4bf1b96e89 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 9 Apr 2022 11:50:01 -0400 Subject: [PATCH] spell-check: quote wildcards --- spell-check | 10 ++++++---- 1 file 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