job.sh (423B)
1 #!/bin/bash 2 set -exuo pipefail 3 4 job_dir=$(dirname "${BASH_SOURCE[0]}") 5 6 skip=$(cat <<EOF 7 ABOUT-NLS 8 configure 9 config.guess 10 configure~ 11 */debian/upstream/* 12 */debian/.debhelper/* 13 */doc/prebuilt/* 14 */testing/test_sync_api_home/* 15 *build-aux* 16 *.cache/* 17 */.git/* 18 */contrib/ci/* 19 depcomp 20 *libtool* 21 ltmain.sh 22 *.log 23 */m4/* 24 *.m4 25 *.rpath 26 EOF 27 ); 28 29 echo Current directory: `pwd` 30 31 codespell -I "${job_dir}"/dictionary.txt -S ${skip//$'\n'/,}