]>
git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/run-coccinelle.sh
3 files
="$(git ls-files ':/*.[ch]')"
8 args
="$args --in-place"
13 for SCRIPT
in ${@-coccinelle/*.cocci} ; do
14 echo "--x-- Processing $SCRIPT --x--"
16 echo "+ spatch --sp-file $SCRIPT $args ..."
17 spatch
--sp-file $SCRIPT $args $files 2>"$TMPFILE" ||
cat "$TMPFILE"
19 echo -e "--x-- Processed $SCRIPT --x--\n"